From: Andrew Cagney Date: Tue, 15 Jan 2002 02:06:47 +0000 (+0000) Subject: * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ee3352dfb3c05c6a0e937fd5a691ba0aa92c15a;p=binutils-gdb.git * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename CLEAN_UP_REGISTER_VALUE. * regcache.c (supply_register): Update only call. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2afe6770aa6..9b66955c569 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-01-14 Andrew Cagney + + * 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 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h index 0e693f3cf85..ed748444db8 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 1b48da6575e..2808c566d45 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 }