فهرست منبع

* changed debug info for shortstrings to the format that gdb
expects (so gdb now recognises shortstrings in dwarf debug info
and shows them as strings rather than as records)

git-svn-id: trunk@7934 -

Jonas Maebe 18 سال پیش
والد
کامیت
ac778e906d
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      compiler/dbgdwarf.pas

+ 2 - 2
compiler/dbgdwarf.pas

@@ -1356,7 +1356,7 @@ implementation
 
           { length entry }
           append_entry(DW_TAG_member,false,[
-            DW_AT_name,DW_FORM_string,'Length'#0,
+            DW_AT_name,DW_FORM_string,'length'#0,
             DW_AT_data_member_location,DW_FORM_block1,1+lengthuleb128(0)
             ]);
           current_asmdata.asmlists[al_dwarf_info].concat(tai_const.create_8bit(ord(DW_OP_plus_uconst)));
@@ -1366,7 +1366,7 @@ implementation
 
           { string data entry }
           append_entry(DW_TAG_member,false,[
-            DW_AT_name,DW_FORM_string,'Data'#0,
+            DW_AT_name,DW_FORM_string,'st'#0,
             DW_AT_data_member_location,DW_FORM_block1,1+lengthuleb128(1)
             ]);
           current_asmdata.asmlists[al_dwarf_info].concat(tai_const.create_8bit(ord(DW_OP_plus_uconst)));