* config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename

CLEAN_UP_REGISTER_VALUE.
* regcache.c (supply_register): Update only call.
This commit is contained in:
Andrew Cagney 2002-01-15 02:06:47 +00:00
parent f015b2e7fc
commit 4ee3352dfb
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
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*,

View file

@ -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; \

View file

@ -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
}