/* Shared library support for IRIX.
Copyright (C) 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2004,
- 2007, 2008 Free Software Foundation, Inc.
+ 2007, 2008, 2009 Free Software Foundation, Inc.
This file was created using portions of irix5-nat.c originally
contributed to GDB by Ian Lance Taylor.
static void
irix_solib_create_inferior_hook (void)
{
+ struct inferior *inf;
struct thread_info *tp;
if (!enable_break ())
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);
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