diff options
author | Nick Clifton <nickc@redhat.com> | 2011-03-25 17:54:56 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-03-25 17:54:56 +0000 |
commit | 58c72efca1eb4d6ce28ed34be51744ecfeee931b (patch) | |
tree | 7bbca7bae26071900b93b38f563efbdd896f9f93 /binutils/dwarf.c | |
parent | 9a3c6177d97bb21333517f6428e562401f77e73f (diff) | |
download | binutils-redhat-58c72efca1eb4d6ce28ed34be51744ecfeee931b.tar.gz |
* 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 d2045371e2..102d1642dc 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)); |