This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2] Fix gdbserver crash on all non-GNU/Linux targets
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 24 Aug 2015 18:10:35 +0100
- Subject: [PATCH 0/2] Fix gdbserver crash on all non-GNU/Linux targets
- Authentication-results: sourceware.org; auth=none
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