Browse Source

* revert use of DW_AT_external for types as this is not covered by the dwarf standard

florian 2 years ago
parent
commit
8cd10d88cc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/dbgdwarf.pas

+ 2 - 2
compiler/dbgdwarf.pas

@@ -1894,8 +1894,8 @@ implementation
             append_entry(DW_TAG_typedef,false,[
               DW_AT_name,DW_FORM_string,symname(def.typesym, false)+#0
             ]);
-            if def.typesym.Owner.symtabletype=globalsymtable then
-              append_attribute(DW_AT_external,DW_FORM_flag,[true]);
+            { if def.typesym.Owner.symtabletype=globalsymtable then
+              append_attribute(DW_AT_external,DW_FORM_flag,[true]); }
             append_labelentry_ref(DW_AT_type,labsym);
             finish_entry;
             current_asmdata.asmlists[al_dwarf_info].concat(tai_symbol.create(labsym,0));