* PATCH: Improve display of information in the .debug_info section
@ 2008-01-05 17:03 Nick Clifton
0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2008-01-05 17:03 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 1114 bytes --]
Hi Guys,
I am applying the attached patch to make a few small improvements to
the information displayed about the .debug_info section by tools
like readelf. The first improvement is to show the abbreviation and
tag referred to by a DW_AT_import attribute. The second change is
to be more consistent about prefixing hex numbers with 0x when it is
not obvious that they are being displayed as such. Finally I have
made a few improvements to some of the warning messages that are
displayed when corrupt information is detected.
Checked by rebuilding all of the regular toolchains and running
regression tests.
Cheers
Nick
binutils/ChangeLog
2008-01-03 Nick Clifton <nickc@redhat.com>
* dwarf.c (read_and_display_attr_value): Prefix values that are
displayed in hexadecimal with 0x.
For the DW_AT_import attribute display the abbreviation number and
tag of the imported DIE.
(process_debug_info): Warn about lengths that reserved by the
DWARF3 specification.
Provide more information when corrupted DIEs are detected.
Warn if DIE corruption makes the sibling level negative.
[-- Attachment #2: dwarf.c.patch.bz2 --]
[-- Type: application/x-bzip2, Size: 2369 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-04 9:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-05 17:03 PATCH: Improve display of information in the .debug_info section Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).