diff options
author | Phil Blundell <philb@gnu.org> | 2001-02-06 19:59:06 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2001-02-06 19:59:06 +0000 |
commit | 713f0374c042c67cfed6110a7ce2dd852ad49500 (patch) | |
tree | 7c47f06a3c6990b6c63aba7c05afdce96d409913 /gdb/config | |
parent | 15e0ecd9c754767a2e19295e906235cc2d5307cd (diff) | |
download | gdb-713f0374c042c67cfed6110a7ce2dd852ad49500.zip gdb-713f0374c042c67cfed6110a7ce2dd852ad49500.tar.gz gdb-713f0374c042c67cfed6110a7ce2dd852ad49500.tar.bz2 |
2001-02-04 Philip Blundell <philb@gnu.org>
* config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
* config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
GET_THREAD_SIGNALS): Define.
* arm-linux-nat.c (fill_gregset): Correct type of argument.
(supply_gregset): Likewise.
(fill_fpregset): Likewise.
(supply_fpregset): Likewise.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/arm/linux.mh | 5 | ||||
-rw-r--r-- | gdb/config/arm/nm-linux.h | 16 |
2 files changed, 19 insertions, 2 deletions
diff --git a/gdb/config/arm/linux.mh b/gdb/config/arm/linux.mh index c373f72..c9e9b64 100644 --- a/gdb/config/arm/linux.mh +++ b/gdb/config/arm/linux.mh @@ -4,8 +4,9 @@ XM_FILE= xm-linux.h XDEPFILES= NAT_FILE= nm-linux.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o \ - core-regset.o arm-linux-nat.o linux-thread.o lin-thread.o +NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o \ + core-regset.o arm-linux-nat.o \ + proc-service.o thread-db.o lin-lwp.o LOADLIBES= -ldl -rdynamic diff --git a/gdb/config/arm/nm-linux.h b/gdb/config/arm/nm-linux.h index fd459fc..c83e0f8 100644 --- a/gdb/config/arm/nm-linux.h +++ b/gdb/config/arm/nm-linux.h @@ -30,4 +30,20 @@ extern int kernel_u_size (void); /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ #define FETCH_INFERIOR_REGISTERS +/* 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_ARMLINUX_H */ |