summaryrefslogtreecommitdiff
path: root/gdb/config/m68k
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-10-14 20:59:23 +0000
committerMark Kettenis <kettenis@gnu.org>2001-10-14 20:59:23 +0000
commit42ca43fa2744be80c8fcaf2c64f76ab6bcedab45 (patch)
tree4c6d9d97581f38b600408159c479c7b8438dc77e /gdb/config/m68k
parent6131ffdcc59fef399644f3cae2c5ec5d52f89047 (diff)
downloadgdb-42ca43fa2744be80c8fcaf2c64f76ab6bcedab45.tar.gz
* 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/m68k')
-rw-r--r--gdb/config/m68k/linux.mh9
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/config/m68k/linux.mh b/gdb/config/m68k/linux.mh
index 510274e8680..f3d40dd1372 100644
--- a/gdb/config/m68k/linux.mh
+++ b/gdb/config/m68k/linux.mh
@@ -1,10 +1,15 @@
-# Host: Motorola m68k running Linux
+# Host: Motorola m68k running GNU/Linux.
XM_FILE= xm-linux.h
XDEPFILES=
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o inftarg.o fork-child.o \
- corelow.o core-aout.o m68klinux-nat.o linux-thread.o
+ corelow.o core-aout.o m68klinux-nat.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
GDBSERVER_DEPFILES= low-linux.o