Browse Source

* fix previous patch for -g alone,
now debug type is set to target_info.dbg

git-svn-id: trunk@5695 -

pierre 18 years ago
parent
commit
e0d9b9e307
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/options.pas

+ 1 - 1
compiler/options.pas

@@ -734,7 +734,7 @@ begin
                 begin
                 begin
                   include(init_settings.moduleswitches,cs_debuginfo);
                   include(init_settings.moduleswitches,cs_debuginfo);
                   if paratargetdbg=dbg_none then
                   if paratargetdbg=dbg_none then
-                    paratargetdbg:=dbg_stabs;
+                    paratargetdbg:=target_info.dbg;
                 end;
                 end;
                if not RelocSectionSetExplicitly then
                if not RelocSectionSetExplicitly then
                  RelocSection:=false;
                  RelocSection:=false;