2011-11-10 Pedro Alves <pedro@codesourcery.com>

gdb/
	* linux-nat.c (linux_nat_wait): Don't force waking up the event
	loop when returning a TARGET_WAITKIND_NO_RESUMED.
This commit is contained in:
Pedro Alves 2011-11-10 20:17:52 +00:00
parent 0c94aa73a0
commit 6953d2240a
2 changed files with 7 additions and 1 deletions

View 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

View 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 ();