From: Jan Vrany <jan.vrany@labware.com>
To: gdb-patches@sourceware.org
Cc: Jan Vrany <jan.vrany@labware.com>
Subject: [PATCH v2 00/13] reimplement readnow_functions
Date: Mon, 24 Nov 2025 19:55:22 +0000 [thread overview]
Message-ID: <20251124195535.2116845-1-jan.vrany@labware.com> (raw)
Hi,
this v2 of a series that refactors readnow_functions without using DWARF
data structures.
The v1 submission is here:
https://inbox.sourceware.org/gdb-patches/20251119200105.3172938-1-jan.vrany@labware.com/
Changes since v1:
* I have updated readnow_function::search() and find_pc_sect_compunit_symtab()
as Tom suggested
* I have added two more commits to this series:
gdb: update message in symbol_file_add_with_addrs after changes in readnow_functions
gdb/testsuite: fix few tests after change in readnow_functions
(the latter fixing some test failures I accidentally missed)
* I have re-run regression tests (with and without -readnow).
Thanks,
Jan
--
Jan Vrany (13):
gdb: reimplement readnow_functions::search
gdb: implement readnow_functions::has_symbols
gdb: implement readnow_functions::has_unexpanded_symtabs
gdb: implement readnow_functions::find_last_source_symtab
gdb: implement readnow_functions::forget_cached_source_info
gdb: implement readnow_functions::lookup_global_symbol_language
gdb: implement readnow_functions::print_stats
gdb: implement readnow_functions::expand_all_symtabs
gdb: implement readnow_functions::find_pc_sect_compunit_symtab
gdb: implement readnow_functions::map_symbol_filenames
gdb: make readnow_functions to inherit from quick_symbol_functions
gdb/testsuite: fix few tests after change in readnow_functions
gdb: update message in symbol_file_add_with_addrs after changes in
readnow_functions
gdb/dwarf2/read.c | 136 ++++++++++++++----
gdb/symfile.c | 17 ++-
gdb/testsuite/gdb.base/bfd-errors.exp | 2 +-
gdb/testsuite/gdb.base/cached-source-file.exp | 2 +-
gdb/testsuite/gdb.base/code_elim.exp | 10 +-
gdb/testsuite/gdb.base/relocate.exp | 12 +-
gdb/testsuite/gdb.base/style.exp | 2 +-
gdb/testsuite/gdb.base/sym-file.exp | 4 +-
gdb/testsuite/gdb.cp/cp-relocate.exp | 2 +-
.../build-id-no-debug-warning.exp | 12 +-
gdb/testsuite/gdb.debuginfod/crc_mismatch.exp | 12 +-
.../gdb.dwarf2/dw2-missing-cu-tag.exp | 2 +-
.../gdb.dwarf2/dw2-objfile-overlap.exp | 2 +-
.../gdb.dwarf2/dw2-using-debug-str.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp | 10 ++
gdb/testsuite/gdb.dwarf2/per-bfd-sharing.exp | 2 +-
gdb/testsuite/gdb.multi/remove-inferiors.exp | 2 +-
gdb/testsuite/gdb.server/target-exec-file.exp | 4 +-
.../gdb.threads/detach-step-over.exp | 2 +-
gdb/testsuite/lib/gdb.exp | 2 +-
20 files changed, 170 insertions(+), 69 deletions(-)
--
2.51.0
next reply other threads:[~2025-11-24 20:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-24 19:55 Jan Vrany [this message]
2025-11-24 19:55 ` [PATCH v2 01/13] gdb: reimplement readnow_functions::search Jan Vrany
2025-12-02 17:25 ` Tom Tromey
2025-11-24 19:55 ` [PATCH v2 02/13] gdb: implement readnow_functions::has_symbols Jan Vrany
2025-11-24 19:55 ` [PATCH v2 03/13] gdb: implement readnow_functions::has_unexpanded_symtabs Jan Vrany
2025-11-24 19:55 ` [PATCH v2 04/13] gdb: implement readnow_functions::find_last_source_symtab Jan Vrany
2025-11-24 19:55 ` [PATCH v2 05/13] gdb: implement readnow_functions::forget_cached_source_info Jan Vrany
2025-11-24 19:55 ` [PATCH v2 06/13] gdb: implement readnow_functions::lookup_global_symbol_language Jan Vrany
2025-11-24 19:55 ` [PATCH v2 07/13] gdb: implement readnow_functions::print_stats Jan Vrany
2025-11-24 19:55 ` [PATCH v2 08/13] gdb: implement readnow_functions::expand_all_symtabs Jan Vrany
2025-11-24 19:55 ` [PATCH v2 09/13] gdb: implement readnow_functions::find_pc_sect_compunit_symtab Jan Vrany
2025-11-24 19:55 ` [PATCH v2 10/13] gdb: implement readnow_functions::map_symbol_filenames Jan Vrany
2025-11-24 19:55 ` [PATCH v2 11/13] gdb: make readnow_functions to inherit from quick_symbol_functions Jan Vrany
2025-11-24 19:55 ` [PATCH v2 12/13] gdb/testsuite: fix few tests after change in readnow_functions Jan Vrany
2025-12-02 17:26 ` Tom Tromey
2025-11-24 19:55 ` [PATCH v2 13/13] gdb: update message in symbol_file_add_with_addrs after changes " Jan Vrany
2025-12-02 17:29 ` Tom Tromey
2025-12-02 18:48 ` Jan Vraný
2025-12-02 18:57 ` Tom Tromey
2025-12-02 19:03 ` Tom Tromey
2025-12-03 17:46 ` Jan Vraný
2025-12-02 13:39 ` [PATCH v2 00/13] reimplement readnow_functions Jan Vraný
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251124195535.2116845-1-jan.vrany@labware.com \
--to=jan.vrany@labware.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox