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.
This commit is contained in:
parent
15e0ecd9c7
commit
713f0374c0
@ -1,3 +1,14 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
|
Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
|
||||||
|
|
||||||
* valops.c (value_cast): If casting a scalar to a pointer, do not
|
* valops.c (value_cast): If casting a scalar to a pointer, do not
|
||||||
|
@ -575,7 +575,7 @@ store_inferior_registers (int regno)
|
|||||||
If regno is -1, do this for all registers. */
|
If regno is -1, do this for all registers. */
|
||||||
|
|
||||||
void
|
void
|
||||||
fill_gregset (gregset_t *gregsetp, int regno)
|
fill_gregset (gdb_gregset_t *gregsetp, int regno)
|
||||||
{
|
{
|
||||||
if (-1 == regno)
|
if (-1 == regno)
|
||||||
{
|
{
|
||||||
@ -607,7 +607,7 @@ fill_gregset (gregset_t *gregsetp, int regno)
|
|||||||
in *gregsetp. */
|
in *gregsetp. */
|
||||||
|
|
||||||
void
|
void
|
||||||
supply_gregset (gregset_t *gregsetp)
|
supply_gregset (gdb_gregset_t *gregsetp)
|
||||||
{
|
{
|
||||||
int regno, reg_pc;
|
int regno, reg_pc;
|
||||||
|
|
||||||
@ -628,7 +628,7 @@ supply_gregset (gregset_t *gregsetp)
|
|||||||
If regno is -1, do this for all registers. */
|
If regno is -1, do this for all registers. */
|
||||||
|
|
||||||
void
|
void
|
||||||
fill_fpregset (fpregset_t *fpregsetp, int regno)
|
fill_fpregset (gdb_fpregset_t *fpregsetp, int regno)
|
||||||
{
|
{
|
||||||
FPA11 *fp = (FPA11 *) fpregsetp;
|
FPA11 *fp = (FPA11 *) fpregsetp;
|
||||||
|
|
||||||
@ -654,7 +654,7 @@ fill_fpregset (fpregset_t *fpregsetp, int regno)
|
|||||||
in *fpregsetp. */
|
in *fpregsetp. */
|
||||||
|
|
||||||
void
|
void
|
||||||
supply_fpregset (fpregset_t *fpregsetp)
|
supply_fpregset (gdb_fpregset_t *fpregsetp)
|
||||||
{
|
{
|
||||||
int regno;
|
int regno;
|
||||||
FPA11 *fp = (FPA11 *) fpregsetp;
|
FPA11 *fp = (FPA11 *) fpregsetp;
|
||||||
|
@ -4,8 +4,9 @@ XM_FILE= xm-linux.h
|
|||||||
XDEPFILES=
|
XDEPFILES=
|
||||||
|
|
||||||
NAT_FILE= nm-linux.h
|
NAT_FILE= nm-linux.h
|
||||||
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o \
|
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o \
|
||||||
core-regset.o arm-linux-nat.o linux-thread.o lin-thread.o
|
core-regset.o arm-linux-nat.o \
|
||||||
|
proc-service.o thread-db.o lin-lwp.o
|
||||||
|
|
||||||
LOADLIBES= -ldl -rdynamic
|
LOADLIBES= -ldl -rdynamic
|
||||||
|
|
||||||
|
@ -30,4 +30,20 @@ extern int kernel_u_size (void);
|
|||||||
/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
|
/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
|
||||||
#define FETCH_INFERIOR_REGISTERS
|
#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 */
|
#endif /* NM_ARMLINUX_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user