aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-irix.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-irix.c')
-rw-r--r--gdb/solib-irix.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/solib-irix.c b/gdb/solib-irix.c
index 5b612ec..49bd200 100644
--- a/gdb/solib-irix.c
+++ b/gdb/solib-irix.c
@@ -422,6 +422,7 @@ enable_break (void)
static void
irix_solib_create_inferior_hook (void)
{
+ struct inferior *inf;
struct thread_info *tp;
if (!enable_break ())
@@ -435,10 +436,14 @@ irix_solib_create_inferior_hook (void)
can go groveling around in the dynamic linker structures to find
out what we need to know about them. */
+ inf = current_inferior ();
tp = inferior_thread ();
+
clear_proceed_status ();
- stop_soon = STOP_QUIETLY;
+
+ inf->stop_soon = STOP_QUIETLY;
tp->stop_signal = TARGET_SIGNAL_0;
+
do
{
target_resume (pid_to_ptid (-1), 0, tp->stop_signal);
@@ -463,7 +468,7 @@ irix_solib_create_inferior_hook (void)
Delaying the resetting of stop_soon until after symbol loading
suppresses the warning. */
solib_add ((char *) 0, 0, (struct target_ops *) 0, auto_solib_add);
- stop_soon = NO_STOP_QUIETLY;
+ inf->stop_soon = NO_STOP_QUIETLY;
}
/* LOCAL FUNCTION