public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Fix various issues in --wrapper in GDBserver
@ 2015-07-20 11:35 Yao Qi
  2015-07-20 11:35 ` [PATCH 4/8] Test --wrapper when restarting process Yao Qi
                   ` (8 more replies)
  0 siblings, 9 replies; 27+ messages in thread
From: Yao Qi @ 2015-07-20 11:35 UTC (permalink / raw)
  To: gdb-patches

The original goal of this patch series is to fix GDBserver bug that
it creates target description too early.  The real fix and details
can be found in patch #7.  Patch #5 and #6 are refactor patch, and
do preparations for patch #7.  Patch #8 is a cleanup patch.

When I fix this target description issue, I see some other problems,
so I fix them together within this patch series.  Patch #1 - #4 are
not strictly related to this target description creation issue.
Patch #1 lets GDBserver to complain when --attach and --wrapper are
used together.  Patch #2 adds a test for --wrapper in extended mode.
Patch #3 adds a test about restarting process, and includes a fix to
a problem exposed by the test.  Patch #4 adds a test for --wrapper
to restart process.  With these tests added, I can make sure my
following changes/patches don't break anything.

The whole series are tested on 86_64-linux both native and gdbserver.
OK for mainline and 7.10 branch?

*** BLURB HERE ***

Yao Qi (8):
  Disallow using --attach and --wrapper together.
  Test --wrapper in extended-remote
  Set general_thread after restart
  Test --wrapper when restarting process.
  Refactor start_inferior
  Set proc->priv->new_inferior out of linux_add_process
  Initialise target descrption after skipping extra traps for --wrapper
  Remove proc->priv->new_inferior

 gdb/gdbserver/linux-low.c                | 77 +++++++++++++++++++++++++-------
 gdb/gdbserver/linux-low.h                |  5 ---
 gdb/gdbserver/lynx-low.c                 |  1 +
 gdb/gdbserver/nto-low.c                  |  1 +
 gdb/gdbserver/server.c                   | 40 +++++++++++------
 gdb/gdbserver/spu-low.c                  |  1 +
 gdb/gdbserver/target.h                   | 10 +++++
 gdb/gdbserver/win32-low.c                |  1 +
 gdb/testsuite/gdb.server/ext-restart.exp | 65 +++++++++++++++++++++++++++
 gdb/testsuite/gdb.server/ext-wrapper.exp | 72 +++++++++++++++++++++++++++++
 gdb/testsuite/lib/gdbserver-support.exp  | 16 ++++---
 11 files changed, 251 insertions(+), 38 deletions(-)
 create mode 100644 gdb/testsuite/gdb.server/ext-restart.exp
 create mode 100644 gdb/testsuite/gdb.server/ext-wrapper.exp

-- 
1.9.1

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

end of thread, other threads:[~2015-07-24 13:49 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-20 11:35 [PATCH 0/8] Fix various issues in --wrapper in GDBserver Yao Qi
2015-07-20 11:35 ` [PATCH 4/8] Test --wrapper when restarting process Yao Qi
2015-07-23 22:59   ` Pedro Alves
2015-07-20 11:35 ` [PATCH 1/8] Disallow using --attach and --wrapper together Yao Qi
2015-07-23 22:29   ` Pedro Alves
2015-07-24  8:44     ` Yao Qi
2015-07-24  8:51       ` Pedro Alves
2015-07-20 11:35 ` [PATCH 2/8] Test --wrapper in extended-remote Yao Qi
2015-07-23 22:35   ` Pedro Alves
2015-07-20 11:36 ` [PATCH 6/8] Set proc->priv->new_inferior out of linux_add_process Yao Qi
2015-07-23 23:26   ` Pedro Alves
2015-07-20 11:36 ` [PATCH 5/8] Refactor start_inferior Yao Qi
2015-07-23 23:27   ` Pedro Alves
2015-07-20 11:36 ` [PATCH 8/8] Remove proc->priv->new_inferior Yao Qi
2015-07-23 23:27   ` Pedro Alves
2015-07-20 11:36 ` [PATCH 7/8] Initialise target descrption after skipping extra traps for --wrapper Yao Qi
2015-07-23 23:26   ` Pedro Alves
2015-07-24 11:12     ` Yao Qi
2015-07-24 11:52       ` Pedro Alves
2015-07-24 13:08         ` Yao Qi
2015-07-24 13:44           ` Pedro Alves
2015-07-20 11:36 ` [PATCH 3/8] Set general_thread after restart Yao Qi
2015-07-23 22:58   ` Pedro Alves
2015-07-24  9:33     ` Yao Qi
2015-07-24  9:53       ` Pedro Alves
2015-07-24 11:31         ` Yao Qi
2015-07-24 13:49 ` [PATCH 0/8] Fix various issues in --wrapper in GDBserver Yao Qi

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