aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-12-23 17:07:28 +0000
committerDaniel Jacobowitz <drow@false.org>2002-12-23 17:07:28 +0000
commit710686b36030e916af6e3ff1167a2dbfa200c13b (patch)
tree4cf90fd2249f96ba97af260e751ae645fd589842
parentee73db833ff8f5272ed6f8410e9c906238384cc8 (diff)
downloadgdb-710686b36030e916af6e3ff1167a2dbfa200c13b.zip
gdb-710686b36030e916af6e3ff1167a2dbfa200c13b.tar.gz
gdb-710686b36030e916af6e3ff1167a2dbfa200c13b.tar.bz2
* 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.
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/config/pa/nm-hppab.h16
-rw-r--r--gdb/config/pa/nm-hppah.h16
-rw-r--r--gdb/config/pa/nm-hppao.h16
4 files changed, 12 insertions, 45 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 53c82df..14514fd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
* symtab.c (lookup_symbol_aux): Delete 'force_return' variable.
diff --git a/gdb/config/pa/nm-hppab.h b/gdb/config/pa/nm-hppab.h
index 995e8e7..d9827dc 100644
--- a/gdb/config/pa/nm-hppab.h
+++ b/gdb/config/pa/nm-hppab.h
@@ -1,5 +1,5 @@
/* 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.
@@ -38,20 +38,6 @@
#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. */
#define FETCH_INFERIOR_REGISTERS
diff --git a/gdb/config/pa/nm-hppah.h b/gdb/config/pa/nm-hppah.h
index 9c150ee..8387115 100644
--- a/gdb/config/pa/nm-hppah.h
+++ b/gdb/config/pa/nm-hppah.h
@@ -1,5 +1,5 @@
/* 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.
This file is part of GDB.
@@ -48,20 +48,6 @@
user space will crap out HPUX. */
#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: */
#define FETCH_INFERIOR_REGISTERS
#define CHILD_XFER_MEMORY
diff --git a/gdb/config/pa/nm-hppao.h b/gdb/config/pa/nm-hppao.h
index 6650a4b..6389b2c 100644
--- a/gdb/config/pa/nm-hppao.h
+++ b/gdb/config/pa/nm-hppao.h
@@ -1,5 +1,5 @@
/* 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.
@@ -27,20 +27,6 @@
#define REGISTER_U_ADDR(addr, blockend, 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. */
#define FETCH_INFERIOR_REGISTERS