public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@efficios.com>
To: gdb-patches@sourceware.org
Cc: Simon Marchi <simon.marchi@efficios.com>
Subject: [PATCH 0/4] Cleanups, remove get_exec_file
Date: Thu, 30 May 2024 14:53:52 -0400	[thread overview]
Message-ID: <20240530185509.265901-1-simon.marchi@efficios.com> (raw)

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


             reply	other threads:[~2024-05-30 18:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-30 18:53 Simon Marchi [this message]
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

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=20240530185509.265901-1-simon.marchi@efficios.com \
    --to=simon.marchi@efficios.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).