public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Introduce process_stratum_target
@ 2018-11-27 20:22 Pedro Alves
  2018-11-27 20:22 ` [PATCH 1/3] Move test_target_ops to a separate file Pedro Alves
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Pedro Alves @ 2018-11-27 20:22 UTC (permalink / raw)
  To: gdb-patches

Some more easily-splittable bits from my multi-target branch.

In the branch, I did a lot of back and forth around changing the
interface of the target_ops::has_foo methods, and it annoyed me that I
had to adjust the interface in several places.  At some point I came
up with these patches to try to centralize things a little more.

Pedro Alves (3):
  Move test_target_ops to a separate file
  Introduce process_stratum_target
  Convert default_child_has_foo functions to process_stratum_target
    methods

 gdb/Makefile.in              |   2 +
 gdb/bsd-kvm.c                |   6 +--
 gdb/corelow.c                |   8 ++--
 gdb/gdbarch-selftests.c      |   1 +
 gdb/inf-child.c              |  35 ---------------
 gdb/inf-child.h              |  17 ++-----
 gdb/process-stratum-target.c | 100 +++++++++++++++++++++++++++++++++++++++++
 gdb/process-stratum-target.h |  60 +++++++++++++++++++++++++
 gdb/ravenscar-thread.c       |   7 ---
 gdb/regcache.c               |   1 +
 gdb/remote-sim.c             |  15 ++-----
 gdb/remote.c                 |  14 ++----
 gdb/target-delegates.c       |   4 +-
 gdb/target.c                 | 105 -------------------------------------------
 gdb/target.h                 |  67 ++-------------------------
 gdb/test-target.c            |  39 ++++++++++++++++
 gdb/test-target.h            |  65 +++++++++++++++++++++++++++
 gdb/tracefile.c              |   5 ---
 gdb/tracefile.h              |   6 ++-
 19 files changed, 295 insertions(+), 262 deletions(-)
 create mode 100644 gdb/process-stratum-target.c
 create mode 100644 gdb/process-stratum-target.h
 create mode 100644 gdb/test-target.c
 create mode 100644 gdb/test-target.h

-- 
2.14.4

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

end of thread, other threads:[~2018-11-30 17:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-27 20:22 [PATCH 0/3] Introduce process_stratum_target Pedro Alves
2018-11-27 20:22 ` [PATCH 1/3] Move test_target_ops to a separate file Pedro Alves
2018-11-27 20:23 ` [PATCH 3/3] Convert default_child_has_foo functions to process_stratum_target methods Pedro Alves
2018-11-29 18:31   ` Tom Tromey
2018-11-30 16:31     ` Pedro Alves
2018-11-27 20:23 ` [PATCH 2/3] Introduce process_stratum_target Pedro Alves
2018-11-29 18:26   ` Tom Tromey
2018-11-29 23:16     ` Tom Tromey
2018-11-30 14:22     ` Pedro Alves
2018-11-30 15:40       ` Tom Tromey
2018-11-30 17:52         ` Pedro Alves
2018-11-29 18:31 ` [PATCH 0/3] " Tom Tromey

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).