浏览代码

* according to errore.msg -gw generates dwarf debugging info, this wasn't the case, fixed

git-svn-id: trunk@2298 -
florian 19 年之前
父节点
当前提交
a76d26bcb1
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      compiler/options.pas

+ 4 - 0
compiler/options.pas

@@ -793,6 +793,10 @@ begin
                          else
                          else
                            include(initglobalswitches,cs_gdb_valgrind);
                            include(initglobalswitches,cs_gdb_valgrind);
                        end;
                        end;
+                     'w' :
+                       begin
+                         paratargetdbg:=dbg_dwarf;
+                       end;
                      else
                      else
                        IllegalPara(opt);
                        IllegalPara(opt);
                    end;
                    end;