Sfoglia il codice sorgente

* use stabs as default debug format if none is
explicitly selected.

git-svn-id: trunk@5679 -

pierre 18 anni fa
parent
commit
a9da7ec275
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      compiler/options.pas

+ 2 - 0
compiler/options.pas

@@ -733,6 +733,8 @@ begin
                else
                else
                 begin
                 begin
                   include(init_settings.moduleswitches,cs_debuginfo);
                   include(init_settings.moduleswitches,cs_debuginfo);
+                  if paratargetdbg=dbg_none then
+                    paratargetdbg:=dbg_stabs;
                 end;
                 end;
                if not RelocSectionSetExplicitly then
                if not RelocSectionSetExplicitly then
                  RelocSection:=false;
                  RelocSection:=false;