From c54cfec8d4215ef2b4f8019a3431749b44ee0247 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Tue, 8 Apr 2003 18:52:04 +0000 Subject: 2003-04-08 Elena Zannoni * infrun.c (stop_soon_quietly): Make it an enum, to better override the default behavior of handle_inferior_event. (clear_proceed_status): Update uses of stop_soon_quietly to reflect that it is now an enum. (start_remote): Ditto. (handle_inferior_event): Change logic a bit if stop_soon_quietly is set to handle the new GNU/Linux kernel behavior for attach/sigstop. Update uses of stop_soon_quietly. * inferior.h (enum stop_kind): New enum. * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. Reset normal handle_inferior_event behavior, afterwards. * fork-child.c (startup_inferior): Update. * alpha-tdep.c (heuristic_proc_start): Update. * solib-svr4.c (svr4_solib_create_inferior_hook): Update. * solib-sunos.c (sunos_solib_create_inferior_hook): Update. * solib-osf.c (osf_solib_create_inferior_hook): Update. * solib-irix.c (irix_solib_create_inferior_hook): Update. * remote-vx.c (vx_create_inferior): Update. * mips-tdep.c (heuristic_proc_start): Update. --- gdb/solib-irix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/solib-irix.c') diff --git a/gdb/solib-irix.c b/gdb/solib-irix.c index 1cfa452..7d3bc9c 100644 --- a/gdb/solib-irix.c +++ b/gdb/solib-irix.c @@ -436,7 +436,7 @@ irix_solib_create_inferior_hook (void) out what we need to know about them. */ clear_proceed_status (); - stop_soon_quietly = 1; + stop_soon_quietly = STOP_QUIETLY; stop_signal = TARGET_SIGNAL_0; do { @@ -462,7 +462,7 @@ irix_solib_create_inferior_hook (void) Delaying the resetting of stop_soon_quietly until after symbol loading suppresses the warning. */ solib_add ((char *) 0, 0, (struct target_ops *) 0, auto_solib_add); - stop_soon_quietly = 0; + stop_soon_quietly = NO_STOP_QUIETLY; re_enable_breakpoints_in_shlibs (); } -- cgit v1.1