2011-11-10 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Thu, 10 Nov 2011 20:17:52 +0000 (20:17 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 10 Nov 2011 20:17:52 +0000 (20:17 +0000)
gdb/
* linux-nat.c (linux_nat_wait): Don't force waking up the event
loop when returning a TARGET_WAITKIND_NO_RESUMED.

gdb/ChangeLog
gdb/linux-nat.c

index 2eef0592dcf2623c1626c0e7ee58c04446a7faa0..577e9b0c1768f9dea8d34fb4e8c9d4a59588a06a 100644 (file)
@@ -1,3 +1,8 @@
+2011-11-10  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-nat.c (linux_nat_wait): Don't force waking up the event
+       loop when returning a TARGET_WAITKIND_NO_RESUMED.
+
 2011-11-10  Pedro Alves  <pedro@codesourcery.com>
 
        * target.c (target_waitstatus_to_string): Handle
index 1e125f4f7b678654ce4ae2f1a53b8cc1a9d1793e..d54f3031c364051a2336b45c6f5047d6608abc5f 100644 (file)
@@ -3980,7 +3980,8 @@ linux_nat_wait (struct target_ops *ops,
      may be more.  If we requested a specific lwp or process, also
      assume there may be more.  */
   if (target_can_async_p ()
-      && (ourstatus->kind != TARGET_WAITKIND_IGNORE
+      && ((ourstatus->kind != TARGET_WAITKIND_IGNORE
+          && ourstatus->kind != TARGET_WAITKIND_NO_RESUMED)
          || !ptid_equal (ptid, minus_one_ptid)))
     async_file_mark ();
 
This page took 0.036819 seconds and 4 git commands to generate.