From 8e7d2c16952df15b6628a9f2ee985086a408561f Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 11 Dec 2002 01:25:19 +0000 Subject: * hppah-nat.c (child_wait): Return TARGET_WAITKIND_IGNORE for the parent's fork event. * infrun.c (handle_inferior_event): Only expect one fork event. Call prepare_to_wait for TARGET_WAITKIND_IGNORE. Update comment. * target.h: Update comment for TARGET_WAITKIND_IGNORE. --- gdb/target.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/target.h') diff --git a/gdb/target.h b/gdb/target.h index 337ea7c..79c2eaa 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -112,8 +112,8 @@ enum target_waitkind inferior. */ TARGET_WAITKIND_SPURIOUS, - /* This is used for target async and extended-async - only. Remote_async_wait() returns this when there is an event + /* An event has occured, but we should wait again. + Remote_async_wait() returns this when there is an event on the inferior, but the rest of the world is not interested in it. The inferior has not stopped, but has just sent some output to the console, for instance. In this case, we want to go back -- cgit v1.1