2011-08-26 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Fri, 26 Aug 2011 19:26:40 +0000 (19:26 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 26 Aug 2011 19:26:40 +0000 (19:26 +0000)
commita9f4bb212331d41206c8acdf58b7031b0ad4ac03
tree381c46fdd8352237fac3d58fb0631d35b8c408a7
parente5798bef38435b582d9fc1c51efbf36b2b7fbe20
2011-08-26  Pedro Alves  <pedro@codesourcery.com>

gdb/
* linux-nat.c (wait_lwp): Avoid assuming errno is preserved by a
library call.  Avoid reading the `status' local if all waitpid
calls failed.
gdb/ChangeLog
gdb/linux-nat.c