diff options
author | Nick Clifton <nickc@redhat.com> | 2011-03-25 17:54:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-03-25 17:54:57 +0000 |
commit | 49e7b350197b0b63e4996247872da3bc86a2dc16 (patch) | |
tree | 189ebb06186320d7ec78c3e67b09b6a567c6ceb0 /binutils/dwarf.c | |
parent | c48d800e1527375235d7030199eb284228e4c55c (diff) | |
download | gdb-49e7b350197b0b63e4996247872da3bc86a2dc16.zip gdb-49e7b350197b0b63e4996247872da3bc86a2dc16.tar.gz gdb-49e7b350197b0b63e4996247872da3bc86a2dc16.tar.bz2 |
* dwarf.c (process_debug_info): Use offset_size to determine
the bit-size of the computation unit's offset.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r-- | binutils/dwarf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index d204537..102d164 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -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)); |