From: Andrew Burgess <aburgess@redhat.com>
To: gdb-patches@sourceware.org
Cc: Andrew Burgess <aburgess@redhat.com>
Subject: [PATCH 0/2] move call to clear_symtab_users
Date: Tue, 31 Mar 2026 15:20:16 +0100 [thread overview]
Message-ID: <cover.1774966728.git.aburgess@redhat.com> (raw)
While working on another patch I ran into an issue with GDB's tracking
of auto-loaded scripts. This highlighted an issue with how
clear_symtab_users is called when working with separate debug info files.
Patch #1 cleans up an existing test making it easier to add additional
tests.
Patch #2 adds a new test and adjusts GDB so the test passes.
Thanks,
Andrew
---
Andrew Burgess (2):
gdb/testsuite: modernise the gdb.python/py-section-script.exp test
gdb: move call to clear_symtab_users out from finish_new_objfile
gdb/symfile.c | 33 ++--
.../gdb.python/py-section-script.exp | 169 ++++++++++++------
2 files changed, 129 insertions(+), 73 deletions(-)
base-commit: 82e460365ba9729e1e66b5f146c17a2ed1b4646c
--
2.25.4
next reply other threads:[~2026-03-31 14:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-31 14:20 Andrew Burgess [this message]
2026-03-31 14:20 ` [PATCH 1/2] gdb/testsuite: modernise the gdb.python/py-section-script.exp test Andrew Burgess
2026-03-31 14:20 ` [PATCH 2/2] gdb: move call to clear_symtab_users out from finish_new_objfile Andrew Burgess
2026-04-01 17:21 ` Kevin Buettner
2026-04-02 9:28 ` Andrew Burgess
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=cover.1774966728.git.aburgess@redhat.com \
--to=aburgess@redhat.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