2004-06-25 Andrew Cagney <cagney@gnu.org>

* defs.h (deprecated_ui_loop_hook): Deprecated.
	* wince.c (child_wait): Update.
	* win32-nat.c (child_wait): Update.
	* v850ice.c (v850ice_wait): Update.
	* top.c (deprecated_ui_loop_hook): Update.
	* serial.h: Update.
	* ser-unix.c (do_hardwire_readchar, do_hardwire_readchar)
	(do_unix_readchar): Update.
	* ser-tcp.c (net_open): Update.
	* remote-sim.c (gdb_os_poll_quit): Update.
	* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Update.
This commit is contained in:
Andrew Cagney
2004-06-25 19:46:08 +00:00
parent 139181c8d6
commit 98bbd631cc
12 changed files with 43 additions and 26 deletions

View File

@@ -1417,8 +1417,8 @@ child_wait (ptid_t ptid, struct target_waitstatus *ourstatus)
{
int detach = 0;
if (ui_loop_hook != NULL)
detach = ui_loop_hook (0);
if (deprecated_ui_loop_hook != NULL)
detach = deprecated_ui_loop_hook (0);
if (detach)
child_kill_inferior ();