From: Tom Tromey <tom@tromey.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tom@tromey.com>
Subject: [PATCH 0/5] Minor updates to program space and setting the exec file
Date: Tue, 10 Nov 2026 19:06:54 -0700 [thread overview]
Message-ID: <20261110-minor-assert-v1-0-bb33660ca557@tromey.com> (raw)
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>
next reply other threads:[~2026-11-11 2:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-11 2:06 Tom Tromey [this message]
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
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=20261110-minor-assert-v1-0-bb33660ca557@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