Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/3] Introduce process_stratum_target
Date: Tue, 27 Nov 2018 20:22:00 -0000	[thread overview]
Message-ID: <20181127202247.7646-1-palves@redhat.com> (raw)

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


             reply	other threads:[~2018-11-27 20:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-27 20:22 Pedro Alves [this message]
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

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=20181127202247.7646-1-palves@redhat.com \
    --to=palves@redhat.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