summaryrefslogtreecommitdiffstats
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-05-12 21:36:08 +0000
committerMark Kettenis <kettenis@gnu.org>2005-05-12 21:36:08 +0000
commitd45b6f32f0191ed252efbe7526b1ac0e94723aa7 (patch)
tree696af13e49bb159062c904bf965635dcfb28419e /gdb/sol-thread.c
parenteaae39195e3ebc6d1bd7d9d5750552184c32dc1f (diff)
downloadppe42-binutils-d45b6f32f0191ed252efbe7526b1ac0e94723aa7.tar.gz
ppe42-binutils-d45b6f32f0191ed252efbe7526b1ac0e94723aa7.zip
* sol-thread.c: Include "solib.h".
(sol_thread_attach): Use solib_add instead of SOLIB_ADD. * Makefile.in (sol-thread.o): Update dependencies.
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 8b208765e4..87357f41c4 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -1,7 +1,7 @@
/* Solaris threads debugging interface.
- Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
- Free Software Foundation, Inc.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+ 2005 Free Software Foundation, Inc.
This file is part of GDB.
@@ -64,6 +64,7 @@
#include "gdbcmd.h"
#include "gdbcore.h"
#include "regcache.h"
+#include "solib.h"
#include "symfile.h"
#include "gdb_string.h"
@@ -353,7 +354,7 @@ sol_thread_attach (char *args, int from_tty)
procfs_ops.to_attach (args, from_tty);
/* Must get symbols from shared libraries before libthread_db can run! */
- SOLIB_ADD ((char *) 0, from_tty, (struct target_ops *) 0, auto_solib_add);
+ solib_add (NULL, from_tty, (struct target_ops *) 0, auto_solib_add);
if (sol_thread_active)
{
OpenPOWER on IntegriCloud