From d61e6540a1b6130942636db0d2216c52e0625276 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Mon, 3 Apr 2000 19:10:50 +0000 Subject: IA-64 changes for linux threads --- gdb/ChangeLog | 8 ++++++++ gdb/config/ia64/linux.mh | 4 +++- gdb/config/ia64/nm-linux.h | 11 +---------- 3 files changed, 12 insertions(+), 11 deletions(-) (limited to 'gdb') 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 * 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 */ -- cgit v1.1