IA-64 changes for linux threads
authorKevin Buettner <kevinb@redhat.com>
Mon, 3 Apr 2000 19:10:50 +0000 (19:10 +0000)
committerKevin Buettner <kevinb@redhat.com>
Mon, 3 Apr 2000 19:10:50 +0000 (19:10 +0000)
gdb/ChangeLog
gdb/config/ia64/linux.mh
gdb/config/ia64/nm-linux.h

index 2885af3..55e5714 100644 (file)
        (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
index 6851447..e2edafe 100644 (file)
@@ -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=
index d6c1332..afb8675 100644 (file)
 #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 */