public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Cleanups, remove get_exec_file
@ 2024-05-30 18:53 Simon Marchi
  2024-05-30 18:53 ` [PATCH 1/4] gdb: make progspace::exec_filename private, add getter / setter Simon Marchi
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Simon Marchi @ 2024-05-30 18:53 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

Some cleanups and simplifications around getting the exec filename.  No
behavior change intended.

Simon Marchi (4):
  gdb: make progspace::exec_filename private, add getter / setter
  gdb: replace `get_exec_file (0)` calls with
    `current_program_space->exec_filename ()`
  gdb: remove dead code in nto-procfs.c
  gdb: remove get_exec_file

 gdb/bsd-kvm.c                |  3 +--
 gdb/corefile.c               | 15 ---------------
 gdb/darwin-nat.c             |  3 +++
 gdb/elf-none-tdep.c          |  4 ++--
 gdb/exec.c                   | 27 ++++++++++++++++++---------
 gdb/exec.h                   |  5 +++++
 gdb/fbsd-tdep.c              |  4 ++--
 gdb/gnu-nat.c                |  3 +++
 gdb/go32-nat.c               |  6 ++----
 gdb/inf-ptrace.c             |  3 +++
 gdb/infcmd.c                 |  5 ++---
 gdb/inferior.c               |  8 ++++----
 gdb/mi/mi-main.c             |  7 ++-----
 gdb/nat/fork-inferior.c      | 16 +++++-----------
 gdb/nto-procfs.c             | 15 +++++----------
 gdb/procfs.c                 | 10 +++++++---
 gdb/progspace.c              | 14 +++++++-------
 gdb/progspace.h              | 16 ++++++++++++----
 gdb/python/py-progspace.c    |  2 +-
 gdb/remote.c                 |  2 +-
 gdb/symfile.c                |  4 +++-
 gdb/target.c                 |  4 ++--
 gdbserver/server.cc          | 11 -----------
 gdbsupport/common-inferior.h |  5 -----
 24 files changed, 90 insertions(+), 102 deletions(-)


base-commit: cc08f5580eefc467a9a5fa8f66eeaf6a1a9bbac6
-- 
2.45.1


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

end of thread, other threads:[~2024-06-08  3:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-30 18:53 [PATCH 0/4] Cleanups, remove get_exec_file Simon Marchi
2024-05-30 18:53 ` [PATCH 1/4] gdb: make progspace::exec_filename private, add getter / setter Simon Marchi
2024-05-30 18:53 ` [PATCH 2/4] gdb: replace `get_exec_file (0)` calls with `current_program_space->exec_filename ()` Simon Marchi
2024-05-30 18:53 ` [PATCH 3/4] gdb: remove dead code in nto-procfs.c Simon Marchi
2024-05-30 18:53 ` [PATCH 4/4] gdb: remove get_exec_file Simon Marchi
2024-06-03 14:53 ` [PATCH 0/4] Cleanups, " Tom Tromey
2024-06-08  3:16   ` Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).