* config/pa/nm-hppab.h: Delete duplicate CANNOT_STORE_REGISTER decl.

* config/pa/nm-hppao.h: Delete duplicate CANNOT_STORE_REGISTER decl.

	* config/pa/nm-hppah.h: Delete duplicate CANNOT_STORE_REGISTER decl.
This commit is contained in:
Daniel Jacobowitz 2002-12-23 17:07:28 +00:00
parent ee73db833f
commit 710686b360
4 changed files with 12 additions and 45 deletions

View File

@ -1,3 +1,12 @@
2002-12-23 Daniel Jacobowitz <drow@mvista.com>
* config/pa/nm-hppab.h: Delete duplicate CANNOT_STORE_REGISTER decl.
* config/pa/nm-hppao.h: Delete duplicate CANNOT_STORE_REGISTER decl.
2002-12-23 Rodney Brown <rbrown64@csc.com.au>
* config/pa/nm-hppah.h: Delete duplicate CANNOT_STORE_REGISTER decl.
2002-12-23 David Carlton <carlton@math.stanford.edu> 2002-12-23 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_symbol_aux): Delete 'force_return' variable. * symtab.c (lookup_symbol_aux): Delete 'force_return' variable.

View File

@ -1,5 +1,5 @@
/* HPPA PA-RISC machine native support for BSD, for GDB. /* HPPA PA-RISC machine native support for BSD, for GDB.
Copyright 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. Copyright 1991, 1992, 1993, 1994, 1995, 2002 Free Software Foundation, Inc.
This file is part of GDB. This file is part of GDB.
@ -38,20 +38,6 @@
#define FIVE_ARG_PTRACE #define FIVE_ARG_PTRACE
/* This macro defines the register numbers (from REGISTER_NAMES) that
are effectively unavailable to the user through ptrace(). It allows
us to include the whole register set in REGISTER_NAMES (inorder to
better support remote debugging). If it is used in
fetch/store_inferior_registers() gdb will not complain about I/O errors
on fetching these registers. If all registers in REGISTER_NAMES
are available, then return false (0). */
#define CANNOT_STORE_REGISTER(regno) \
((regno) == 0) || \
((regno) == PCSQ_HEAD_REGNUM) || \
((regno) >= PCSQ_TAIL_REGNUM && (regno) < IPSW_REGNUM) || \
((regno) > IPSW_REGNUM && (regno) < FP4_REGNUM)
/* fetch_inferior_registers is in hppab-nat.c. */ /* fetch_inferior_registers is in hppab-nat.c. */
#define FETCH_INFERIOR_REGISTERS #define FETCH_INFERIOR_REGISTERS

View File

@ -1,5 +1,5 @@
/* Native support for HPPA-RISC machine running HPUX, for GDB. /* Native support for HPPA-RISC machine running HPUX, for GDB.
Copyright 1991, 1992, 1994, 1996, 1998, 1999, 2000 Copyright 1991, 1992, 1994, 1996, 1998, 1999, 2000, 2002
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GDB. This file is part of GDB.
@ -48,20 +48,6 @@
user space will crap out HPUX. */ user space will crap out HPUX. */
#define NEED_TEXT_START_END 1 #define NEED_TEXT_START_END 1
/* This macro defines the register numbers (from REGISTER_NAMES) that
are effectively unavailable to the user through ptrace(). It allows
us to include the whole register set in REGISTER_NAMES (inorder to
better support remote debugging). If it is used in
fetch/store_inferior_registers() gdb will not complain about I/O errors
on fetching these registers. If all registers in REGISTER_NAMES
are available, then return false (0). */
#define CANNOT_STORE_REGISTER(regno) \
((regno) == 0) || \
((regno) == PCSQ_HEAD_REGNUM) || \
((regno) >= PCSQ_TAIL_REGNUM && (regno) < IPSW_REGNUM) || \
((regno) > IPSW_REGNUM && (regno) < FP4_REGNUM)
/* In hppah-nat.c: */ /* In hppah-nat.c: */
#define FETCH_INFERIOR_REGISTERS #define FETCH_INFERIOR_REGISTERS
#define CHILD_XFER_MEMORY #define CHILD_XFER_MEMORY

View File

@ -1,5 +1,5 @@
/* HPPA PA-RISC machine native support for Lites, for GDB. /* HPPA PA-RISC machine native support for Lites, for GDB.
Copyright 1995 Free Software Foundation, Inc. Copyright 1995, 2002 Free Software Foundation, Inc.
This file is part of GDB. This file is part of GDB.
@ -27,20 +27,6 @@
#define REGISTER_U_ADDR(addr, blockend, regno) \ #define REGISTER_U_ADDR(addr, blockend, regno) \
{ addr = (int)(blockend) + REGISTER_BYTE (regno);} { addr = (int)(blockend) + REGISTER_BYTE (regno);}
/* This macro defines the register numbers (from REGISTER_NAMES) that
are effectively unavailable to the user through ptrace(). It allows
us to include the whole register set in REGISTER_NAMES (inorder to
better support remote debugging). If it is used in
fetch/store_inferior_registers() gdb will not complain about I/O errors
on fetching these registers. If all registers in REGISTER_NAMES
are available, then return false (0). */
#define CANNOT_STORE_REGISTER(regno) \
((regno) == 0) || \
((regno) == PCSQ_HEAD_REGNUM) || \
((regno) >= PCSQ_TAIL_REGNUM && (regno) < IPSW_REGNUM) || \
((regno) > IPSW_REGNUM && (regno) < FP4_REGNUM)
/* fetch_inferior_registers is in hppab-nat.c. */ /* fetch_inferior_registers is in hppab-nat.c. */
#define FETCH_INFERIOR_REGISTERS #define FETCH_INFERIOR_REGISTERS