From 710686b36030e916af6e3ff1167a2dbfa200c13b Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 23 Dec 2002 17:07:28 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 9 +++++++++ gdb/config/pa/nm-hppab.h | 16 +--------------- gdb/config/pa/nm-hppah.h | 16 +--------------- gdb/config/pa/nm-hppao.h | 16 +--------------- 4 files changed, 12 insertions(+), 45 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 53c82dfaf7c..14514fdb083 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2002-12-23 Daniel Jacobowitz + + * 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 + + * config/pa/nm-hppah.h: Delete duplicate CANNOT_STORE_REGISTER decl. + 2002-12-23 David Carlton * 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 995e8e773d5..d9827dcf790 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 9c150ee0218..83871158d35 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 6650a4bd19a..6389b2c1868 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 -- 2.30.2