public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Make some functions independent of current inferior
@ 2022-11-24 16:04 Simon Marchi
  2022-11-24 16:04 ` [PATCH 1/5] gdb: add inferior parameter to target_current_description Simon Marchi
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Simon Marchi @ 2022-11-24 16:04 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

Here's a little series making some functions independent from the
current inferior, taking an inferior parameter instead.  This is in
preparation for some other work I'm doing, but I thought it could go in
as its own.

Simon Marchi (5):
  gdb: add inferior parameter to target_current_description
  gdb: add inferior parameter to set_target_gdbarch, rename to
    set_inferior_gdbarch
  gdb: add inferior parameter to gdbarch_update_p
  gdb: add inferior parameter to target_find_description
  gdb: add inferior parameter to target_clear_description

 gdb/arch-utils.c          | 45 ++++++++++++++++++------------------
 gdb/arm-tdep.c            |  2 +-
 gdb/cris-tdep.c           |  6 ++---
 gdb/gdbarch.h             |  8 +++----
 gdb/i386-darwin-nat.c     |  2 +-
 gdb/infcmd.c              |  2 +-
 gdb/infrun.c              |  4 ++--
 gdb/mips-tdep.c           | 10 ++++----
 gdb/osabi.c               |  3 ++-
 gdb/remote.c              |  8 +++----
 gdb/rs6000-aix-nat.c      |  2 +-
 gdb/rs6000-tdep.c         |  4 ++--
 gdb/target-descriptions.c | 48 +++++++++++++++++++++------------------
 gdb/target-descriptions.h | 10 ++++----
 gdb/target.c              |  2 +-
 gdb/tracefile-tfile.c     |  2 +-
 16 files changed, 82 insertions(+), 76 deletions(-)

-- 
2.37.3


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

end of thread, other threads:[~2022-11-24 16:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-24 16:04 [PATCH 0/5] Make some functions independent of current inferior Simon Marchi
2022-11-24 16:04 ` [PATCH 1/5] gdb: add inferior parameter to target_current_description Simon Marchi
2022-11-24 16:04 ` [PATCH 2/5] gdb: add inferior parameter to set_target_gdbarch, rename to set_inferior_gdbarch Simon Marchi
2022-11-24 16:42   ` Lancelot SIX
2022-11-24 16:47     ` Simon Marchi
2022-11-24 16:04 ` [PATCH 3/5] gdb: add inferior parameter to gdbarch_update_p Simon Marchi
2022-11-24 16:04 ` [PATCH 4/5] gdb: add inferior parameter to target_find_description Simon Marchi
2022-11-24 16:25   ` Simon Marchi
2022-11-24 16:04 ` [PATCH 5/5] gdb: add inferior parameter to target_clear_description 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).