From: John Baldwin <jhb@FreeBSD.org>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/4] Handle null inferiors in target::read_description
Date: Fri, 26 May 2023 10:57:38 -0700 [thread overview]
Message-ID: <20230526175742.66885-1-jhb@FreeBSD.org> (raw)
This is a set of changes split out from my larger XSAVE review that
will hopefully be easier to review as a smaller chunk. Compared to
the version of these patches posted previously I have added extra
details to the log messages for patches 1 and 2 and added two new
patches. Namely, patch 4 now includes a test for this case (and patch
3 is some refactoring in preparation for patch 4).
John Baldwin (4):
*-fbsd-nat: Handle null inferior in read_description.
*-linux-nat: Handle null inferior in read_description.
Add a have_native_target helper function for use with require.
Test that native targets can read a tdesc without a process attached.
gdb/aarch64-fbsd-nat.c | 3 +++
gdb/aarch64-linux-nat.c | 3 +++
gdb/amd64-fbsd-nat.c | 3 +++
gdb/arm-fbsd-nat.c | 3 +++
gdb/arm-linux-nat.c | 3 +++
gdb/i386-fbsd-nat.c | 3 +++
gdb/mips-linux-nat.c | 3 +++
gdb/ppc-linux-nat.c | 3 +++
gdb/riscv-linux-nat.c | 3 +++
gdb/s390-linux-nat.c | 3 +++
.../gdb.base/auto-connect-native-target.exp | 18 +------------
.../gdb.base/native-target-noproc-tdesc.exp | 27 +++++++++++++++++++
gdb/testsuite/lib/gdb.exp | 17 ++++++++++++
gdb/x86-linux-nat.c | 3 +++
14 files changed, 78 insertions(+), 17 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/native-target-noproc-tdesc.exp
--
2.40.0
next reply other threads:[~2023-05-26 17:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-26 17:57 John Baldwin [this message]
2023-05-26 17:57 ` [PATCH 1/4] *-fbsd-nat: Handle null inferior in read_description John Baldwin
2023-07-06 16:18 ` Simon Marchi
2023-07-06 16:56 ` John Baldwin
2023-05-26 17:57 ` [PATCH 2/4] *-linux-nat: " John Baldwin
2023-06-12 8:56 ` Luis Machado
2023-06-12 17:43 ` John Baldwin
2023-05-26 17:57 ` [PATCH 3/4] Add a have_native_target helper function for use with require John Baldwin
2023-07-06 16:24 ` Simon Marchi
2023-07-06 17:18 ` John Baldwin
2023-05-26 17:57 ` [PATCH 4/4] Test that native targets can read a tdesc without a process attached John Baldwin
2023-06-09 16:55 ` [PING] [PATCH 0/4] Handle null inferiors in target::read_description John Baldwin
2023-06-30 14:22 ` John Baldwin
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=20230526175742.66885-1-jhb@FreeBSD.org \
--to=jhb@freebsd.org \
--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).