[PATCH 0/2] Add name_of_main and language_of_main to the DWARF index
Tom de Vries
tdevries@suse.de
Fri Oct 6 17:49:40 GMT 2023
This is a patch series containing:
- a gdb patch introducing a new version of the .gdb_index section,
adding a shortcut table.
- a readelf patch adding the capability to read the new version, as
well print the shortcuts table.
This is v4 of the gdb patch. The v3 was submitted here (
https://sourceware.org/pipermail/gdb-patches/2023-August/201568.html ).
Changes in v4:
- fixed a few whitespace issues.
- reformulated 'A 32-bit little-endian value' to 'An @code{offset_type} value'
in the docs.
- mentioned PR symtab/30946 in the commit log.
- updated a pre-existing unit test.
I've already approved v3, and the v4 changes are trivial.
The readelf patch is new.
Tested on x86_64-linux.
Matheus Branco Borella (1):
[gdb/symtab] Add name_of_main and language_of_main to the DWARF index
Tom de Vries (1):
[readelf] Handle .gdb_index section version 9
binutils/dwarf.c | 176 +++++++++++++++++++++++-------------
gdb/NEWS | 3 +
gdb/doc/gdb.texinfo | 23 ++++-
gdb/dwarf2/index-write.c | 54 +++++++++--
gdb/dwarf2/read-gdb-index.c | 54 ++++++++++-
gdb/dwarf2/read.c | 13 ++-
gdb/dwarf2/read.h | 12 +++
7 files changed, 259 insertions(+), 76 deletions(-)
base-commit: 9a896be33224654760c46d3698218241d0a1f354
--
2.35.3
More information about the Binutils
mailing list