]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2010-08-11 Thomas Schwinge <thomas@codesourcery.com>
authorThomas Schwinge <tschwinge@gnu.org>
Wed, 11 Aug 2010 15:58:49 +0000 (15:58 +0000)
committerThomas Schwinge <tschwinge@gnu.org>
Wed, 11 Aug 2010 15:58:49 +0000 (15:58 +0000)
* linux-low.c (linux_wait_1): Correctly return the ptid of the child
after its termination.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c

index 7c182cbd154548a427b0e7a1e78d9c533ab5d2b8..90bb28088ab810f573e453ac9b04ed48d84e824f 100644 (file)
@@ -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-07-21  Ozkan Sezer  <sezeroz@gmail.com>
 
        * server.c (handle_query): strcpy() the returned string from paddress()
index 64007b070aa46e16d8fe9cd02f8499e7c664e279..241e0ab82927b51c6787cc6a2762db852de18c2e 100644 (file)
@@ -2071,7 +2071,7 @@ retry:
 
            }
 
-         return pid_to_ptid (pid);
+         return ptid_of (event_child);
        }
     }
   else