aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-09-27 18:05:03 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-09-27 18:05:03 +0000
commit9c41109d368bad91f2c3e8ebcdce18e521b0da0c (patch)
tree9595401ac1d058746bd66371e9f316e1aebf03a1 /binutils/dwarf.c
parent3736004f01ce839ed6f27fa97bdf8d5dea3e4653 (diff)
downloadgdb-9c41109d368bad91f2c3e8ebcdce18e521b0da0c.zip
gdb-9c41109d368bad91f2c3e8ebcdce18e521b0da0c.tar.gz
gdb-9c41109d368bad91f2c3e8ebcdce18e521b0da0c.tar.bz2
Pass offset_size to print_dwarf_vma for cie_id
binutils/ * dwarf.c (display_debug_frames): Pass offset_size to print_dwarf_vma for cie_id. binutils/testsuite/ * binutils-all/x86-64/compressed-1a.d: Updated for 64-bit addresses.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 8a233aa..bd73647 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -5249,7 +5249,7 @@ display_debug_frames (struct dwarf_section *section,
printf ("\n%08lx ", (unsigned long) (saved_start - section_start));
print_dwarf_vma (length, fc->ptr_size);
- print_dwarf_vma (cie_id, fc->ptr_size);
+ print_dwarf_vma (cie_id, offset_size);
if (do_debug_frames_interp)
{
@@ -5385,7 +5385,7 @@ display_debug_frames (struct dwarf_section *section,
printf ("\n%08lx %s %s FDE cie=%08lx pc=",
(unsigned long)(saved_start - section_start),
dwarf_vmatoa_1 (NULL, length, fc->ptr_size),
- dwarf_vmatoa_1 (NULL, cie_id, fc->ptr_size),
+ dwarf_vmatoa_1 (NULL, cie_id, offset_size),
(unsigned long)(cie->chunk_start - section_start));
if (fc->segment_size)