From 4ee3352dfb3c05c6a0e937fd5a691ba0aa92c15a Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 15 Jan 2002 02:06:47 +0000 Subject: [PATCH] * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename CLEAN_UP_REGISTER_VALUE. * regcache.c (supply_register): Update only call. --- gdb/ChangeLog | 6 ++++++ gdb/config/pa/tm-hppa.h | 2 +- gdb/regcache.c | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2afe6770aa..9b66955c56 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 0e693f3cf8..ed748444db 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 1b48da6575..2808c566d4 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 }