diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2010-08-11 15:53:04 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2010-08-11 15:53:04 +0000 |
commit | 3e4c12352587411b09071bd92002d481cebb8f1d (patch) | |
tree | b8efaf06ae15067a48df3e61e9eb31ae938166f2 | |
parent | 62183e15d8e62101e398b969ddc76c3ccedee53e (diff) | |
download | gdb-3e4c12352587411b09071bd92002d481cebb8f1d.zip gdb-3e4c12352587411b09071bd92002d481cebb8f1d.tar.gz gdb-3e4c12352587411b09071bd92002d481cebb8f1d.tar.bz2 |
2010-08-11 Thomas Schwinge <thomas@codesourcery.com>
* linux-low.c (linux_wait_1): Correctly return the ptid of the child
after its termination.
-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 |