aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/ia64
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-04-03 19:10:50 +0000
committerKevin Buettner <kevinb@redhat.com>2000-04-03 19:10:50 +0000
commitd61e6540a1b6130942636db0d2216c52e0625276 (patch)
treea5b89635baad056a8ef3a1868c27a1b11491471a /gdb/config/ia64
parent76d689a6e39d1e4ed94b4932ccea40cd13b38071 (diff)
downloadgdb-d61e6540a1b6130942636db0d2216c52e0625276.zip
gdb-d61e6540a1b6130942636db0d2216c52e0625276.tar.gz
gdb-d61e6540a1b6130942636db0d2216c52e0625276.tar.bz2
IA-64 changes for linux threads
Diffstat (limited to 'gdb/config/ia64')
-rw-r--r--gdb/config/ia64/linux.mh4
-rw-r--r--gdb/config/ia64/nm-linux.h11
2 files changed, 4 insertions, 11 deletions
diff --git a/gdb/config/ia64/linux.mh b/gdb/config/ia64/linux.mh
index 6851447..e2edafe 100644
--- a/gdb/config/ia64/linux.mh
+++ b/gdb/config/ia64/linux.mh
@@ -5,7 +5,9 @@ XDEPFILES= ser-tcp.o
NAT_FILE= nm-linux.h
NATDEPFILES= infptrace.o solib.o inftarg.o fork-child.o corelow.o \
- core-aout.o core-regset.o ia64-linux-nat.o
+ core-aout.o core-regset.o ia64-linux-nat.o linux-thread.o lin-thread.o
+
+LOADLIBES = -ldl -rdynamic
# Don't use gnu-regex.c; it interferes with some stuff in libc.
REGEX=
diff --git a/gdb/config/ia64/nm-linux.h b/gdb/config/ia64/nm-linux.h
index d6c1332..afb8675 100644
--- a/gdb/config/ia64/nm-linux.h
+++ b/gdb/config/ia64/nm-linux.h
@@ -22,13 +22,7 @@
#ifndef NM_LINUX_H
#define NM_LINUX_H
-/* We define this if link.h is available, because with ELF we use SVR4 style
- shared libraries. */
-
-#ifdef HAVE_LINK_H
-#define SVR4_SHARED_LIBS
-#include "solib.h" /* Support for shared libraries. */
-#endif
+#include "nm-linux.h"
/* Note: It seems likely that we'll have to eventually define
FETCH_INFERIOR_REGISTERS. But until that time, we'll make do
@@ -50,7 +44,4 @@ extern int ia64_register_u_addr(int, int);
#define PTRACE_ARG3_TYPE long
#define PTRACE_XFER_TYPE long
-/* Tell gdb that we can attach and detach other processes */
-#define ATTACH_DETACH
-
#endif /* #ifndef NM_LINUX_H */