From: Tom Tromey <tom@tromey.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tom@tromey.com>
Subject: [PATCH 0/3] Change some functions to methods of program_space
Date: Fri, 13 Feb 2026 14:09:40 -0700 [thread overview]
Message-ID: <20260213-random-methods-v1-0-59bdac57c3e1@tromey.com> (raw)
This changes a few functions to become methods of program_space.
It also moves them to progspace.[ch], where they belong.
Regression tested on x86-64 Fedora 40.
Signed-off-by: Tom Tromey <tom@tromey.com>
---
Tom Tromey (3):
Move entry point functions to program_space
Use std::optional in entry_point_address_query
Change have_*_symbols functions to methods of program_space
gdb/ada-exp.y | 4 ++--
gdb/arc-tdep.c | 2 +-
gdb/arch-utils.c | 2 +-
gdb/c-exp.y | 4 ++--
gdb/cli/cli-cmds.c | 4 ++--
gdb/d-exp.y | 4 ++--
gdb/frame.c | 8 +++----
gdb/go-exp.y | 4 ++--
gdb/infcall.c | 2 +-
gdb/linespec.c | 10 ++++----
gdb/objfiles.c | 65 ----------------------------------------------------
gdb/objfiles.h | 22 ------------------
gdb/p-exp.y | 4 ++--
gdb/parse.c | 4 ++--
gdb/progspace.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++
gdb/progspace.h | 20 ++++++++++++++++
gdb/solib-frv.c | 9 ++++----
gdb/source.c | 4 ++--
gdb/symfile.c | 8 +++----
gdb/symtab.c | 8 +++----
gdb/tui/tui-disasm.c | 4 ++--
21 files changed, 125 insertions(+), 129 deletions(-)
---
base-commit: 51b7445c65ff06a6d9740fc635be73287527a0a5
change-id: 20260213-random-methods-2f946240d78d
Best regards,
--
Tom Tromey <tom@tromey.com>
next reply other threads:[~2026-02-13 21:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-13 21:09 Tom Tromey [this message]
2026-02-13 21:09 ` [PATCH 1/3] Move entry point functions to program_space Tom Tromey
2026-02-13 21:09 ` [PATCH 2/3] Use std::optional in entry_point_address_query Tom Tromey
2026-02-13 21:09 ` [PATCH 3/3] Change have_*_symbols functions to methods of program_space Tom Tromey
2026-02-14 4:16 ` Simon Marchi
2026-02-14 17:33 ` Tom Tromey
2026-02-14 4:17 ` [PATCH 0/3] Change some " Simon Marchi
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=20260213-random-methods-v1-0-59bdac57c3e1@tromey.com \
--to=tom@tromey.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