Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] Change some functions to methods of program_space
@ 2026-02-13 21:09 Tom Tromey
  2026-02-13 21:09 ` [PATCH 1/3] Move entry point functions to program_space Tom Tromey
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Tom Tromey @ 2026-02-13 21:09 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

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>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-02-14 17:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-13 21:09 [PATCH 0/3] Change some functions to methods of program_space Tom Tromey
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox