Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5] Minor updates to program space and setting the exec file
@ 2026-11-11  2:06 Tom Tromey
  2026-11-11  2:06 ` [PATCH 1/5] Reject null pointers in program_space::set_exec_bfd Tom Tromey
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Tom Tromey @ 2026-11-11  2:06 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

I was looking into some program space logic recently and ran across a
few minor things that could be improved.

Regression tested on x86-64 Fedora 40.

Signed-off-by: Tom Tromey <tom@tromey.com>
---
Tom Tromey (5):
      Reject null pointers in program_space::set_exec_bfd
      Hoist call to gdb_bfd_check_format_matches in exec.c
      Have program_space::set_exec_bfd do more work
      Mark two program_space fields as private
      Add some uses of bool to progspace and exec_file_attach

 gdb/breakpoint.c   |  4 ++--
 gdb/corefile.c     |  4 ++--
 gdb/exec.c         | 54 ++++++++++++++++++++++--------------------------------
 gdb/infrun.c       |  2 +-
 gdb/progspace.c    | 26 ++++++++++++++++++++------
 gdb/progspace.h    | 35 ++++++++++++++++++-----------------
 gdb/source-cache.c |  2 +-
 7 files changed, 66 insertions(+), 61 deletions(-)
---
base-commit: da76bc467dcfaf1df603b3e2bf9e50c6a3ceae2c
change-id: 20261110-minor-assert-76f676218740

Best regards,
-- 
Tom Tromey <tom@tromey.com>


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

end of thread, other threads:[~2026-11-11  2:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11  2:06 [PATCH 0/5] Minor updates to program space and setting the exec file Tom Tromey
2026-11-11  2:06 ` [PATCH 1/5] Reject null pointers in program_space::set_exec_bfd Tom Tromey
2026-11-11  2:06 ` [PATCH 2/5] Hoist call to gdb_bfd_check_format_matches in exec.c Tom Tromey
2026-11-11  2:06 ` [PATCH 3/5] Have program_space::set_exec_bfd do more work Tom Tromey
2026-11-11  2:06 ` [PATCH 4/5] Mark two program_space fields as private Tom Tromey
2026-11-11  2:06 ` [PATCH 5/5] Add some uses of bool to progspace and exec_file_attach Tom Tromey

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