]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Restore .gdb_index v9 display in readelf
authorTom Tromey <tom@tromey.com>
Mon, 20 Nov 2023 16:31:32 +0000 (09:31 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 20 Nov 2023 16:31:32 +0000 (09:31 -0700)
commit8116169676604839ecfa39c1fe609249efb481d8
treef09991d2333525217ddff9a085371e3bb4b88c01
parentd50480b5afc528c3a7aaa4fd82a675df0dcaff69
Restore .gdb_index v9 display in readelf

An earlier patch (commit b05efa39 "readelf..debug-dump=loc displays
bogus base addresses") inadvertently removed support for displaying
.gdb_index v9 sections.

This patch corrects the oversight.  I tested this by using readelf on
an appropriate file.

* dwarf.c (display_gdb_index): Restore v9 display code.
binutils/dwarf.c