aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-11-30 16:05:15 +0000
committerPedro Alves <palves@redhat.com>2015-11-30 18:37:25 +0000
commit34c6591498f4363ef2c71d683cdaaa33d6a6ad64 (patch)
tree92e113842ee8c135ad264294d8b0852a28f5d280 /gdb/gdbserver/ChangeLog
parent066f6b6edcb63b363cc9a95c3727b996d1895549 (diff)
downloadgdb-34c6591498f4363ef2c71d683cdaaa33d6a6ad64.zip
gdb-34c6591498f4363ef2c71d683cdaaa33d6a6ad64.tar.gz
gdb-34c6591498f4363ef2c71d683cdaaa33d6a6ad64.tar.bz2
gdbserver crash running gdb.threads/non-ldr-exc-1.exp
This fixes a gdbserver crash when running gdb.threads/non-ldr-exc-1.exp with "maint set target-non-stop on". The problem is that qSymbol is called when gdbserver has current_thread == NULL. gdb/gdbserver/ChangeLog: 2015-11-30 Pedro Alves <palves@redhat.com> * gdbthread.h (find_any_thread_of_pid): Declare. * inferiors.c (thread_of_pid, find_any_thread_of_pid): New functions. * server.c (handle_query): If current_thread is NULL, look for another thread of the selected process.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r--gdb/gdbserver/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index c9e2157..28ff0e1 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,11 @@
+2015-11-30 Pedro Alves <palves@redhat.com>
+
+ * gdbthread.h (find_any_thread_of_pid): Declare.
+ * inferiors.c (thread_of_pid, find_any_thread_of_pid): New
+ functions.
+ * server.c (handle_query): If current_thread is NULL, look for
+ another thread of the selected process.
+
2015-11-26 Daniel Colascione <dancol@dancol.org>
Simon Marchi <simon.marchi@ericsson.com>