From: Stan Shebs Date: Fri, 30 Jan 1998 03:54:54 +0000 (+0000) Subject: * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e269acb3e31249dc5cd21f466d67d8366e21e6e;p=binutils-gdb.git * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can never be defined. * dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]: Remove, no longer needed. * hppa-tdep.c (N_SET_MAGIC): Remove, no longer used. * config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto. * config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto. * config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o. Cruft discovered while working on GDB internals manual --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3c65ffc8adb..c649067e373 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,14 @@ +Thu Jan 29 19:39:31 1998 Stan Shebs + + * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can + never be defined. + * dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]: + Remove, no longer needed. + * hppa-tdep.c (N_SET_MAGIC): Remove, no longer used. + * config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto. + * config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto. + * config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o. + Wed Jan 28 14:46:52 1998 Stan Shebs Suggested by Chris Walter : diff --git a/gdb/config/mips/mipsm3.mt b/gdb/config/mips/mipsm3.mt index d122be1004e..66856d16c04 100644 --- a/gdb/config/mips/mipsm3.mt +++ b/gdb/config/mips/mipsm3.mt @@ -1,4 +1,4 @@ # Target: Little-endian MIPS machine such as pmax # running Mach 3.0 operating system -TDEPFILES= mips-tdep.o mipsread.o +TDEPFILES= mips-tdep.o TM_FILE= tm-mipsm3.h diff --git a/gdb/config/mips/tm-mipsm3.h b/gdb/config/mips/tm-mipsm3.h index 22057b4fad7..f73660479ff 100644 --- a/gdb/config/mips/tm-mipsm3.h +++ b/gdb/config/mips/tm-mipsm3.h @@ -62,10 +62,5 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #undef STACK_END_ADDR #define STACK_END_ADDR USRSTACK -/* Don't output r?? names for registers, since they - * can't be used as reg names anyway - */ -#define NUMERIC_REG_NAMES - /* Output registers in tabular format */ #define TABULAR_REGISTER_OUTPUT diff --git a/gdb/config/pa/xm-hppab.h b/gdb/config/pa/xm-hppab.h index 463c1e08dcb..9f6467fcf0a 100644 --- a/gdb/config/pa/xm-hppab.h +++ b/gdb/config/pa/xm-hppab.h @@ -25,9 +25,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define HOST_BYTE_ORDER BIG_ENDIAN #include "pa/xm-pa.h" - -#ifndef SEEK_SET -# define SEEK_SET 0 /* Set file pointer to "offset" */ -# define SEEK_CUR 1 /* Set file pointer to current plus "offset" */ -# define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ -#endif /* SEEK_SET */ diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 05463b4f7d7..0ecbc85647d 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -40,9 +40,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "a.out.encap.h" #else #endif -#ifndef N_SET_MAGIC -#define N_SET_MAGIC(exec, val) ((exec).a_magic = (val)) -#endif /*#include After a.out.h */ #include