* config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
authorAndrew Cagney <cagney@redhat.com>
Tue, 15 Jan 2002 02:06:47 +0000 (02:06 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 15 Jan 2002 02:06:47 +0000 (02:06 +0000)
CLEAN_UP_REGISTER_VALUE.
* regcache.c (supply_register): Update only call.

gdb/ChangeLog
gdb/config/pa/tm-hppa.h
gdb/regcache.c

index 2afe6770aa6ee68b6547076f945537086d29f699..9b66955c569ea8067d29ac037a8a1ef02c40f39f 100644 (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*,
index 0e693f3cf857f57af3c19b41ca47e7953e11ab91..ed748444db8b627a6a507058d946d12e050e80eb 100644 (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; \
index 1b48da6575ea3c6f1ae63f985b60c0504a7c87c9..2808c566d458a539ebe5009fc349a92ca1ccac1f 100644 (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
 }