aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parent76d689a6e39d1e4ed94b4932ccea40cd13b38071 (diff)
downloadgdb-d61e6540a1b6130942636db0d2216c52e0625276.zip
gdb-d61e6540a1b6130942636db0d2216c52e0625276.tar.gz
gdb-d61e6540a1b6130942636db0d2216c52e0625276.tar.bz2
IA-64 changes for linux threads
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/config/ia64/linux.mh4
-rw-r--r--gdb/config/ia64/nm-linux.h11
3 files changed, 12 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2885af3..55e5714 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -11,6 +11,14 @@
(find_global_pointer, find_extant_func_descr): Don't use
partial symtabs for locating sections.
+ * config/ia64/linux.mh (LOADLIBES): Define.
+ (NATDEPFILES): Add linux-thread.o and lin-thread.o.
+ * config/ia64/nm-linux.h (nm-linux.h): Include this upper-level
+ file containing generic linux declarations/definitions.
+ (SVR4_SHARED_LIBS, ATTACH_DETACH): Remove defines; already
+ defined in generic nm-linux.h.
+ (solib.h): Remove include; already included in generic nm-linux.h.
+
2000-04-03 Jim Blandy <jimb@redhat.com>
* solib.c (solib_add): Move all the code for loading symbol tables
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 */