mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 08:19:22 +02:00
Use 'debug watcom all' if -g, without dwarf option is used
git-svn-id: trunk@34077 -
This commit is contained in:
parent
fba50767b3
commit
e68b8467b6
@ -266,7 +266,9 @@ begin
|
|||||||
LinkRes.Add('option quiet');
|
LinkRes.Add('option quiet');
|
||||||
|
|
||||||
if target_dbg.id in [dbg_dwarf2,dbg_dwarf3,dbg_dwarf4] then
|
if target_dbg.id in [dbg_dwarf2,dbg_dwarf3,dbg_dwarf4] then
|
||||||
LinkRes.Add('debug dwarf');
|
LinkRes.Add('debug dwarf')
|
||||||
|
else if cs_debuginfo in current_settings.moduleswitches then
|
||||||
|
LinkRes.Add('debug watcom all');
|
||||||
|
|
||||||
{ add objectfiles, start with prt0 always }
|
{ add objectfiles, start with prt0 always }
|
||||||
case current_settings.x86memorymodel of
|
case current_settings.x86memorymodel of
|
||||||
|
Loading…
Reference in New Issue
Block a user