+ implemented the -Xg option for putting the debug information in a separate

file on i8086-msdos and i8086-win16

git-svn-id: trunk@39096 -
This commit is contained in:
nickysn 2018-05-22 15:33:26 +00:00
parent 0a01c0c76f
commit 6f44deb557
2 changed files with 4 additions and 0 deletions

View File

@ -271,6 +271,8 @@ begin
LinkRes.Add('debug codeview')
else if cs_debuginfo in current_settings.moduleswitches then
LinkRes.Add('debug watcom all');
if cs_link_separate_dbg_file in current_settings.globalswitches then
LinkRes.Add('option symfile');
{ add objectfiles, start with prt0 always }
case current_settings.x86memorymodel of

View File

@ -232,6 +232,8 @@ begin
LinkRes.Add('debug dwarf')
else if target_dbg.id=dbg_codeview then
LinkRes.Add('debug codeview');
if cs_link_separate_dbg_file in current_settings.globalswitches then
LinkRes.Add('option symfile');
{ add objectfiles, start with prt0 always }
case current_settings.x86memorymodel of