forked from Imagelibrary/binutils-gdb
2011-05-09 Pedro Alves <pedro@codesourcery.com>
* 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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user