Explorar o código

* fixed shortstring size information

git-svn-id: trunk@14335 -
Jonas Maebe %!s(int64=15) %!d(string=hai) anos
pai
achega
fa044d05e0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/dbgdwarf.pas

+ 1 - 1
compiler/dbgdwarf.pas

@@ -1469,7 +1469,7 @@ implementation
             current_asmdata.getaddrlabel(arr);
           append_entry(DW_TAG_structure_type,true,[
             DW_AT_name,DW_FORM_string,name+#0,
-            DW_AT_byte_size,DW_FORM_data1,2*sizeof(pint)
+            DW_AT_byte_size,DW_FORM_udata,qword(lendef.size)+slen
             ]);
           finish_entry;