From: Pedro Alves <palves@redhat.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/2] Make catch-syscall.exp work with "target remote".
Date: Fri, 27 Sep 2013 19:22:00 -0000 [thread overview]
Message-ID: <1380309731-29881-1-git-send-email-palves@redhat.com> (raw)
Running the pending GDBserver "catch syscall" patch against the
native-gdbserver.exp board ("target remote", instead of the
native-extended-gdbserver.exp board ("target extended-remote") fails
the existing catch-syscall.exp test. These look like problems with
the testsuite, actually independent of the catch syscall support, so I
took a stab at fixing them.
Unfortunately, the first patch regresses testing against the stdio
board. The second patch fixes that. If people are OK with these
patches, I'll swap their order before check in.
Pedro Alves (2):
Make catch-syscall.exp work with "target remote". A.k.a., teach the
testsuite that GDBserver reliably reports program exits.
[GDBserver]: Silence exits if GDB is connected through stdio.
gdb/gdbserver/server.c | 5 ++++-
gdb/gdbserver/target.c | 23 ++++++++++++++++-------
gdb/testsuite/README | 8 ++++++++
gdb/testsuite/boards/native-gdbserver.exp | 1 +
gdb/testsuite/boards/native-stdio-gdbserver.exp | 1 +
gdb/testsuite/lib/gdb.exp | 21 +++++++++++++++------
6 files changed, 45 insertions(+), 14 deletions(-)
--
1.7.11.7
next reply other threads:[~2013-09-27 19:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-27 19:22 Pedro Alves [this message]
2013-09-27 19:22 ` [PATCH 1/2] Make catch-syscall.exp work with "target remote". A.k.a., teach the testsuite that GDBserver reliably reports program exits Pedro Alves
2013-10-02 11:51 ` Pedro Alves
2013-09-27 19:22 ` [PATCH 2/2] [GDBserver]: Silence exits if GDB is connected through stdio Pedro Alves
2013-09-27 20:41 ` Sergio Durigan Junior
2013-10-02 11:49 ` Pedro Alves
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=1380309731-29881-1-git-send-email-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