Prechádzať zdrojové kódy

* DWARF debug info is now default on ppc64/linux
* disallow stabs debug info generation on ppc64/linux.

git-svn-id: trunk@2956 -

tom_at_work 19 rokov pred
rodič
commit
496c31ac29
2 zmenil súbory, kde vykonal 6 pridanie a 1 odobranie
  1. 5 0
      compiler/options.pas
  2. 1 1
      compiler/systems/i_linux.pas

+ 5 - 0
compiler/options.pas

@@ -793,7 +793,12 @@ begin
                        end;
                      's' :
                        begin
+                         { stabs debug information not supported }
+                         {$ifdef powerpc64}
+                         IllegalPara(opt);
+                         {$else}
                          paratargetdbg:=dbg_stabs;
+                         {$endif}
                        end;
                      'v' :
                        begin

+ 1 - 1
compiler/systems/i_linux.pas

@@ -318,7 +318,7 @@ unit i_linux;
             linkextern   : nil;
             ar           : ar_gnu_ar;
             res          : res_none;
-            dbg          : dbg_stabs;
+            dbg          : dbg_dwarf;
             script       : script_unix;
             endian       : endian_big;
             alignment    :