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 0/2] Fix gdbserver crash on all non-GNU/Linux targets


Documentation review needed on patch #1.

This series fixes the crash Ulrich reported here:

  https://sourceware.org/ml/gdb-patches/2015-08/msg00675.html

In order to add a test that exposes the issue on GNU/Linux, I need to
add the missing "set remote ...-packet" knob to disable the
multiprocess extensions.

I've pushed this to the
users/palves/gdbserver-crash-without-multiprocess branch for testing
convenience.

Pedro Alves (2):
  Add "set remote multiprocess-extensions-packet" command
  gdbserver crashes when multiprocess extensions aren't supported

 gdb/NEWS                                           |  4 ++
 gdb/doc/gdb.texinfo                                |  4 ++
 gdb/gdbserver/inferiors.c                          |  8 +++
 gdb/gdbserver/inferiors.h                          |  3 +
 gdb/gdbserver/remote-utils.c                       |  7 ++-
 gdb/remote.c                                       |  7 ++-
 .../gdb.server/connect-without-multi-process.c     | 22 +++++++
 .../gdb.server/connect-without-multi-process.exp   | 68 ++++++++++++++++++++++
 8 files changed, 118 insertions(+), 5 deletions(-)
 create mode 100644 gdb/testsuite/gdb.server/connect-without-multi-process.c
 create mode 100644 gdb/testsuite/gdb.server/connect-without-multi-process.exp

-- 
1.9.3


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