* dwarf.c (display_debug_aranges): When the address size is greater than 4
display addresses and lengths as 16 hex digits, otherwise use 8 hex digits.
+2006-08-08 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/2768
+ * dwarf.c (display_debug_aranges): When the address size is
+ greater than 4 display addresses and lengths as 16 hex digits,
+ otherwise use 8 hex digits.
+
2006-08-06 Nick Clifton <nickc@redhat.com>
PR binutils/3001
break;
}
- printf (_("\n Address Length\n"));
+ if (address_size > 4)
+ printf (_("\n Address Length\n"));
+ else
+ printf (_("\n Address Length\n"));
ranges = hdrptr;
ranges += address_size;
- printf (" %8.8lx %lu\n", address, length);
+ if (address_size > 4)
+ printf (" 0x%16.16lx 0x%lx\n", address, length);
+ else
+ printf (" 0x%8.8lx 0x%lx\n", address, length);
}
}