mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
* dwarf.c (process_debug_info): Use offset_size to determine
the bit-size of the computation unit's offset.
This commit is contained in:
@@ -2072,7 +2072,7 @@ process_debug_info (struct dwarf_section *section,
|
||||
dwarf_vmatoa ("x", cu_offset));
|
||||
printf (_(" Length: 0x%s (%s)\n"),
|
||||
dwarf_vmatoa ("x", compunit.cu_length),
|
||||
initial_length_size == 8 ? "64-bit" : "32-bit");
|
||||
offset_size == 8 ? "64-bit" : "32-bit");
|
||||
printf (_(" Version: %d\n"), compunit.cu_version);
|
||||
printf (_(" Abbrev Offset: %s\n"),
|
||||
dwarf_vmatoa ("d", compunit.cu_abbrev_offset));
|
||||
|
||||
Reference in New Issue
Block a user