mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-21 11:41:28 +02:00
+ tell wlink to add dwarf debug info to the executable when -gw2/3/4 is used
git-svn-id: trunk@25874 -
This commit is contained in:
parent
9f979eb5c6
commit
12b1e0cbfd
@ -247,6 +247,9 @@ begin
|
||||
{ Add all options to link.res instead of passing them via command line:
|
||||
DOS command line is limited to 126 characters! }
|
||||
|
||||
if paratargetdbg in [dbg_dwarf2,dbg_dwarf3,dbg_dwarf4] then
|
||||
LinkRes.Add('debug dwarf');
|
||||
|
||||
{ add objectfiles, start with prt0 always }
|
||||
case current_settings.x86memorymodel of
|
||||
mm_tiny: LinkRes.Add('file ' + maybequoted(FindObjectFile('prt0t','',false)));
|
||||
|
Loading…
Reference in New Issue
Block a user