From e4c8541fca4c7a63ffdabf9b43798c0f9ac2665f Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 9 May 2011 14:25:37 +0000 Subject: 2011-05-09 Pedro Alves * inferior.h (wait_for_inferior): Remove `thread_exec_as_sigtrap' parameter. * infrun.c (proceed, start_remote): Adjust. (wait_for_inferior): Remove `thread_exec_as_sigtrap' parameter, and adjust to not handle it. * solib-irix.c (irix_solib_create_inferior_hook): Adjust. * solib-osf.c (osf_solib_create_inferior_hook): Adjust. * solib-sunos.c (sunos_solib_create_inferior_hook): Adjust. * solib-svr4.c (svr4_solib_create_inferior_hook): Adjust. * windows-nat.c (do_initial_windows_stuff): Adjust. * infcmd.c (attach_command): Adjust. (notice_new_inferior): Adjust. --- gdb/windows-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/windows-nat.c') diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index cf1a097..8096f95 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -1714,7 +1714,7 @@ do_initial_windows_stuff (struct target_ops *ops, DWORD pid, int attaching) while (1) { stop_after_trap = 1; - wait_for_inferior (0); + wait_for_inferior (); tp = inferior_thread (); if (tp->suspend.stop_signal != TARGET_SIGNAL_TRAP) resume (0, tp->suspend.stop_signal); -- cgit v1.1