Explorar o código

+ implemented the -Xg option for putting the debug information in a separate
file on i8086-msdos and i8086-win16

git-svn-id: trunk@39096 -

nickysn %!s(int64=7) %!d(string=hai) anos
pai
achega
6f44deb557
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 2 0
      compiler/systems/t_msdos.pas
  2. 2 0
      compiler/systems/t_win16.pas

+ 2 - 0
compiler/systems/t_msdos.pas

@@ -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

+ 2 - 0
compiler/systems/t_win16.pas

@@ -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