aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/ChangeLog
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-01-07 11:39:00 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-01-07 11:39:00 +0000
commit3f6e77ef16e580abf959d28f5a090a79160937aa (patch)
tree6a90f0ecc7bc1edeed4b2154a706eb4411cd1721 /gdb/gdbserver/ChangeLog
parent7fda33ae8d596863ddfbf1521934bb23675c9390 (diff)
downloadgdb-3f6e77ef16e580abf959d28f5a090a79160937aa.zip
gdb-3f6e77ef16e580abf959d28f5a090a79160937aa.tar.gz
gdb-3f6e77ef16e580abf959d28f5a090a79160937aa.tar.bz2
LynxOS: Resume the same thread when receiving a thread create/exit event.
Before this patch, the ptid passed to lynx_resume was completely ignored, and we used the current_inferior. This resulted in trying to resume the inferior execution using the wrong ptid after having received a thread create/exit event, because the inferior_ptid was still set to the ptid prior to receiving the signal. gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_resume): Use the resume_info parameter to determine the ptid for the lynx_ptrace call, unless it is equal to minus_one_ptid, in which case we use the ptid of the current_inferior. (lynx_wait_1): After having received a thread create/exit event, resume the inferior's execution using the signaling thread's ptid, rather than the old ptid.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r--gdb/gdbserver/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 4aeb3f9..8f85b92 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,15 @@
2013-01-07 Joel Brobecker <brobecker@adacore.com>
+ * lynx-low.c (lynx_resume): Use the resume_info parameter
+ to determine the ptid for the lynx_ptrace call, unless
+ it is equal to minus_one_ptid, in which case we use the
+ ptid of the current_inferior.
+ (lynx_wait_1): After having received a thread create/exit
+ event, resume the inferior's execution using the signaling
+ thread's ptid, rather than the old ptid.
+
+2013-01-07 Joel Brobecker <brobecker@adacore.com>
+
* lynx-low.c (lynx_resume): Delete variable ret.
2013-01-01 Joel Brobecker <brobecker@adacore.com>