This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH/7.10 0/2] gdbserver: Fix several fork support (& co) issues


In the "[PATCH 3/N] remote follow fork and spurious child stops in
non-stop mode" thread:

 https://sourceware.org/ml/gdb-patches/2015-07/msg00868.html

several issues were identified in the new gdbserver follow fork
support in 7.10.  This addresses all I found.  I'm thinking these are
7.10 worthy.

The test added exposes issues in gdb's native target, but I won't have
time to address them myself right now, so the test is kfailed there.

Pedro Alves (2):
  Linux gdbserver confused when event randomization returns a process
    exit event
  gdbserver: Fix non-stop / fork / step-over issues

 gdb/gdbserver/linux-low.c                         | 335 +++++++++++++++++-----
 gdb/gdbserver/linux-low.h                         |  11 +-
 gdb/target/waitstatus.h                           |   5 +-
 gdb/testsuite/gdb.threads/fork-plus-threads-2.c   | 129 +++++++++
 gdb/testsuite/gdb.threads/fork-plus-threads-2.exp | 116 ++++++++
 5 files changed, 523 insertions(+), 73 deletions(-)
 create mode 100644 gdb/testsuite/gdb.threads/fork-plus-threads-2.c
 create mode 100644 gdb/testsuite/gdb.threads/fork-plus-threads-2.exp

-- 
1.9.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]