From: Thomas Schwinge Date: Wed, 11 Aug 2010 15:58:49 +0000 (+0000) Subject: 2010-08-11 Thomas Schwinge X-Git-Tag: gdb_7_2-2010-09-02-release~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9bada6984501f160314dc50b791963a54aeecfee;p=thirdparty%2Fbinutils-gdb.git 2010-08-11 Thomas Schwinge * linux-low.c (linux_wait_1): Correctly return the ptid of the child after its termination. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 7c182cbd154..90bb28088ab 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2010-08-11 Thomas Schwinge + + * linux-low.c (linux_wait_1): Correctly return the ptid of the child + after its termination. + 2010-07-21 Ozkan Sezer * server.c (handle_query): strcpy() the returned string from paddress() diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index 64007b070aa..241e0ab8292 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -2071,7 +2071,7 @@ retry: } - return pid_to_ptid (pid); + return ptid_of (event_child); } } else