diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-03-20 21:40:47 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-03-20 21:40:47 +0000 |
commit | e40eccb4fbef4e068585ef96a7b761d83aa11fef (patch) | |
tree | c0cd3f184cd740dc8be0f1c2240d643eec947f69 /gdb/config/alpha | |
parent | bea7bb93ffacb8d57e0fffbe0ed4cd7635af2fb6 (diff) | |
download | gdb-e40eccb4fbef4e068585ef96a7b761d83aa11fef.zip gdb-e40eccb4fbef4e068585ef96a7b761d83aa11fef.tar.gz gdb-e40eccb4fbef4e068585ef96a7b761d83aa11fef.tar.bz2 |
Update Linux/Alpha port to use new Linux threads support.
Diffstat (limited to 'gdb/config/alpha')
-rw-r--r-- | gdb/config/alpha/alpha-linux.mh | 2 | ||||
-rw-r--r-- | gdb/config/alpha/nm-linux.h | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/gdb/config/alpha/alpha-linux.mh b/gdb/config/alpha/alpha-linux.mh index c7575ae..f698341 100644 --- a/gdb/config/alpha/alpha-linux.mh +++ b/gdb/config/alpha/alpha-linux.mh @@ -3,7 +3,7 @@ XDEPFILES= XM_FILE= xm-alphalinux.h NAT_FILE= nm-linux.h NATDEPFILES= infptrace.o inftarg.o corelow.o alpha-nat.o \ - fork-child.o linux-thread.o lin-thread.o + fork-child.o proc-service.o thread-db.o lin-lwp.o LOADLIBES = -ldl -rdynamic diff --git a/gdb/config/alpha/nm-linux.h b/gdb/config/alpha/nm-linux.h index 3969ef7..d50d977 100644 --- a/gdb/config/alpha/nm-linux.h +++ b/gdb/config/alpha/nm-linux.h @@ -66,4 +66,20 @@ extern int get_longjmp_target (CORE_ADDR *); pointer to the first register. */ #define ALPHA_REGSET_BASE(regsetp) ((long *) (regsetp)) +/* 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 /* NM_LINUX_H */ |