diff options
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/linux-low.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 9b3a2fc..01fe3f8 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2010-08-11 Thomas Schwinge <thomas@codesourcery.com> + + * linux-low.c (linux_wait_1): Correctly return the ptid of the child + after its termination. + 2010-08-09 Pedro Alves <pedro@codesourcery.com> * linux-low.c (gdb_wants_lwp_stopped): Delete. diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index dbad8c6..a162385 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -2045,7 +2045,7 @@ retry: } - return pid_to_ptid (pid); + return ptid_of (event_child); } } else |