diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/config/pa/tm-hppa.h | 2 | ||||
-rw-r--r-- | gdb/regcache.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2afe677..9b66955 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2002-01-14 Andrew Cagney <ac131313@redhat.com> + * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename + CLEAN_UP_REGISTER_VALUE. + * regcache.c (supply_register): Update only call. + +2002-01-14 Andrew Cagney <ac131313@redhat.com> + * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and a29k-*-vxworks* targets as obsolete. diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h index 0e693f3..ed74844 100644 --- a/gdb/config/pa/tm-hppa.h +++ b/gdb/config/pa/tm-hppa.h @@ -251,7 +251,7 @@ extern CORE_ADDR saved_pc_after_call (struct frame_info *); clean them up using this macro. BUF is a char pointer to the raw value of the register in the registers[] array. */ -#define CLEAN_UP_REGISTER_VALUE(regno, buf) \ +#define DEPRECATED_CLEAN_UP_REGISTER_VALUE(regno, buf) \ do { \ if ((regno) == PCOQ_HEAD_REGNUM || (regno) == PCOQ_TAIL_REGNUM) \ (buf)[sizeof(CORE_ADDR) -1] &= ~0x3; \ diff --git a/gdb/regcache.c b/gdb/regcache.c index 1b48da6..2808c56 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -571,8 +571,8 @@ supply_register (int regnum, char *val) through the method gdbarch_register_read() clean up the values. */ -#ifdef CLEAN_UP_REGISTER_VALUE - CLEAN_UP_REGISTER_VALUE (regnum, register_buffer (regnum)); +#ifdef DEPRECATED_CLEAN_UP_REGISTER_VALUE + DEPRECATED_CLEAN_UP_REGISTER_VALUE (regnum, register_buffer (regnum)); #endif } |