FYI: Make libdw dwarf_child () work for debug_type DIEs

2011-04-26 Thread Mark Wielaard
Hi, There was a small bug in dwarf_child () that made it fail with .debug_type Dwarf_Dies. It contained a sanity check to see whether we reached the end of the section early. A Dwarf_CU can come from either the debug_info unit or a debug_type unit section. So use the correct one for sanity checkin

[Patch] Add support for printing SDT elf notes.

2011-04-26 Thread Mark Wielaard
Hi, Another small addition to make it possible to print the new sdt elf notes that are appearing in more and more binaries these days. The format is fairly simple to parse and has been added to the appropriate libebl functions. ebl_object_note_type_name () has been changed to also take the name of

Re: [patch] Add printing of .gdb_index section to readelf

2011-04-26 Thread Mark Wielaard
On Thu, 2011-04-21 at 14:28 -0600, Tom Tromey wrote: > But... first, we try not to change it, because changes are disruptive. > Second, a change requires a version bump and an update to the > documentation (in the past this was just a comment, but in the future it > will require a change to gdb.tex