瀏覽代碼

+ enable by default the ds_dwarf_omf_linnum debug switch on i8086, since that's
the only currently working option for getting source level debugging on
i8086-msdos

git-svn-id: trunk@39016 -

nickysn 7 年之前
父節點
當前提交
3e343dff21
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      compiler/globals.pas

+ 4 - 0
compiler/globals.pas

@@ -411,7 +411,11 @@ interface
         optimizerswitches : [];
         genwpoptimizerswitches : [];
         dowpoptimizerswitches : [];
+{$ifdef i8086}
+        debugswitches : [ds_dwarf_sets,ds_dwarf_omf_linnum];
+{$else i8086}
         debugswitches : [ds_dwarf_sets];
+{$endif i8086}
 
         setalloc : 0;
         packenum : 4;