* linux-nat.c (linux_nat_wait_1): Bail out, if TARGET_WNOHANG and
authorPedro Alves <palves@redhat.com>
Fri, 9 Oct 2009 01:57:12 +0000 (01:57 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 9 Oct 2009 01:57:12 +0000 (01:57 +0000)
commit287369626f415a12f53989914dc0499b6c96d1aa
treefa8288f856b36c63ad94c80b6fc86ba848c2a428
parent651c8d2d6c30c4d2178988e5c48fdad2116982ed
* linux-nat.c (linux_nat_wait_1): Bail out, if TARGET_WNOHANG and
we found no event while waiting for a specific LWP.
* infrun.c (handle_inferior_event): Handle TARGET_WAITKIND_IGNORE
before anything else.
gdb/ChangeLog
gdb/infrun.c
gdb/linux-nat.c