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 v2 0/2] PR threads/18600: Threads left stopped after fork+thread spawn


This is intended for both master and 7.10.

The discussions on PR threads/18600 at:

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

identified two problems.  These patches are another revision of the
patches original posted at:

    [1] https://sourceware.org/ml/gdb-patches/2015-07/msg00186.html
    [2] https://sourceware.org/ml/gdb-patches/2015-07/msg00190.html

Which later Simon cleaned up a bit and wrote a test for:
  https://sourceware.org/ml/gdb-patches/2015-07/msg00595.html

This revision addresses the comments I made to Simon's version.

Tested on x86_64 Fedora 20, native, remote and extended-remote
gdbserver.

Pedro Alves (2):
  PR threads/18600: Threads left stopped after fork+thread spawn
  PR threads/18600: Inferiors left around after fork+thread spawn

 gdb/linux-nat.c                                 | 111 ++++++++++++-----------
 gdb/testsuite/gdb.threads/fork-plus-threads.c   | 115 ++++++++++++++++++++++++
 gdb/testsuite/gdb.threads/fork-plus-threads.exp |  65 ++++++++++++++
 3 files changed, 235 insertions(+), 56 deletions(-)
 create mode 100644 gdb/testsuite/gdb.threads/fork-plus-threads.c
 create mode 100644 gdb/testsuite/gdb.threads/fork-plus-threads.exp

-- 
1.9.3


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