diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-02-21 05:20:35 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-02-21 05:20:35 +0000 |
commit | fbad08934dd31e50f358eaf3db5d2b827946d643 (patch) | |
tree | 6edfc66e2b784d60a451bf9f3d47f77fb1704d5f /gdb/config | |
parent | 1ac7e077c996dea0b51806abba30f9fe80e65972 (diff) | |
download | gdb-fbad08934dd31e50f358eaf3db5d2b827946d643.zip gdb-fbad08934dd31e50f358eaf3db5d2b827946d643.tar.gz gdb-fbad08934dd31e50f358eaf3db5d2b827946d643.tar.bz2 |
Enable new thread support for Linux/IA-64.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/ia64/linux.mh | 2 | ||||
-rw-r--r-- | gdb/config/ia64/nm-linux.h | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/gdb/config/ia64/linux.mh b/gdb/config/ia64/linux.mh index 5f10b09..8e27f97 100644 --- a/gdb/config/ia64/linux.mh +++ b/gdb/config/ia64/linux.mh @@ -5,7 +5,7 @@ XDEPFILES= NAT_FILE= nm-linux.h NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o \ - core-aout.o core-regset.o ia64-linux-nat.o linux-thread.o lin-thread.o + core-aout.o core-regset.o ia64-linux-nat.o thread-db.o lin-lwp.o LOADLIBES = -ldl -rdynamic diff --git a/gdb/config/ia64/nm-linux.h b/gdb/config/ia64/nm-linux.h index 4422d1d..579d305 100644 --- a/gdb/config/ia64/nm-linux.h +++ b/gdb/config/ia64/nm-linux.h @@ -75,4 +75,20 @@ extern int ia64_linux_insert_watchpoint (int pid, CORE_ADDR addr, ia64_linux_remove_watchpoint (inferior_pid, addr, len) extern int ia64_linux_remove_watchpoint (int pid, CORE_ADDR addr, int len); +/* FIXME: kettenis/2000-09-03: This should be moved to ../nm-linux.h + once we have converted all Linux targets to use the new threads + stuff (without the #undef of course). */ + +extern int lin_lwp_prepare_to_proceed (void); +#undef PREPARE_TO_PROCEED +#define PREPARE_TO_PROCEED(select_it) lin_lwp_prepare_to_proceed () + +extern void lin_lwp_attach_lwp (int pid, int verbose); +#define ATTACH_LWP(pid, verbose) lin_lwp_attach_lwp ((pid), (verbose)) + +#include <signal.h> + +extern void lin_thread_get_thread_signals (sigset_t *mask); +#define GET_THREAD_SIGNALS(mask) lin_thread_get_thread_signals (mask) + #endif /* #ifndef NM_LINUX_H */ |