aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-10-14 20:42:07 +0000
committerMark Kettenis <kettenis@gnu.org>2001-10-14 20:42:07 +0000
commita14bd2ea8937e02184939ebdeaa5a8a28473b5e9 (patch)
tree76e7b3040a450d095063b5bf75add539fe7c432f /gdb/config/sparc
parent8e4d17db0ec7c7417fd3329debba013076f96610 (diff)
downloadgdb-a14bd2ea8937e02184939ebdeaa5a8a28473b5e9.zip
gdb-a14bd2ea8937e02184939ebdeaa5a8a28473b5e9.tar.gz
gdb-a14bd2ea8937e02184939ebdeaa5a8a28473b5e9.tar.bz2
* config/nm-linux.h (struct objfile): Remove forward declaration.
(linuxthreads_new_objfile): Remove prototype. (linuxthreads_pid_to_str): Remove prototype. (PREPARE_TO_PROCEED): Redefine in terms of lin_lwp_prepare_to_proceed. (struct target_waitstatus): Forward declaration. (child_wait): New prototype. (CHILD_WAIT): Define. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Moved here from arch-specific files. * config/alpha/nm-linux.h, config/arm/nm-linux.h, config/ia64/nm-linux.h, config/mips/nm-linux.h, config/powerpc/nm-linux.h: Don't include <signal.h>. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove. * config/i386/nm-linux.h: Likewise. (struct target_waitstatus, child_wait, CHILD_WAIT): Remove. * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES): Remove linux-thread.o. Add proc-service.o, thread-db.o and lin-lwp.o. (LOADLIBES): New variable.
Diffstat (limited to 'gdb/config/sparc')
-rw-r--r--gdb/config/sparc/linux.mh13
1 files changed, 10 insertions, 3 deletions
diff --git a/gdb/config/sparc/linux.mh b/gdb/config/sparc/linux.mh
index 937be17..71352b4 100644
--- a/gdb/config/sparc/linux.mh
+++ b/gdb/config/sparc/linux.mh
@@ -1,8 +1,15 @@
-# Host: Sparcstation, running Linux
-XDEPFILES=
+# Host: Sparcstation, running GNU/Linux.
+
XM_FILE= xm-linux.h
+XDEPFILES=
+
NAT_FILE= nm-linux.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o \
- linux-thread.o
+ proc-service.o thread-db.o lin-lwp.o
+
+# The dynamically loaded libthread_db needs access to symbols in the
+# gdb executable.
+LOADLIBES = -ldl -rdynamic
+
HOST_IPC=-DBSD_IPC
GDBSERVER_DEPFILES= low-sparc.o