aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-05-09 14:25:37 +0000
committerPedro Alves <palves@redhat.com>2011-05-09 14:25:37 +0000
commite4c8541fca4c7a63ffdabf9b43798c0f9ac2665f (patch)
tree6144a270cced46b513be921522226e9834a8fe49 /gdb/infcmd.c
parentfbd9ad907dc6a283dc1bec51ecd91355ac866949 (diff)
downloadgdb-e4c8541fca4c7a63ffdabf9b43798c0f9ac2665f.zip
gdb-e4c8541fca4c7a63ffdabf9b43798c0f9ac2665f.tar.gz
gdb-e4c8541fca4c7a63ffdabf9b43798c0f9ac2665f.tar.bz2
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.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index fce1e8f..be1f0a5 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -2526,7 +2526,7 @@ attach_command (char *args, int from_tty)
return;
}
- wait_for_inferior (0);
+ wait_for_inferior ();
}
attach_command_post_wait (args, from_tty, async_exec);
@@ -2590,7 +2590,7 @@ notice_new_inferior (ptid_t ptid, int leave_running, int from_tty)
return;
}
else
- wait_for_inferior (0);
+ wait_for_inferior ();
}
async_exec = leave_running;