Browse Source

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

CLEAN_UP_REGISTER_VALUE.
* regcache.c (supply_register): Update only call.
binutils-2_12-branch
Andrew Cagney 25 years ago
parent
commit
4ee3352dfb
  1. 6
      gdb/ChangeLog
  2. 2
      gdb/config/pa/tm-hppa.h
  3. 4
      gdb/regcache.c

6
gdb/ChangeLog

@ -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> 2002-01-14 Andrew Cagney <ac131313@redhat.com>
* configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,

2
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 clean them up using this macro. BUF is a char pointer to
the raw value of the register in the registers[] array. */ 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 { \ do { \
if ((regno) == PCOQ_HEAD_REGNUM || (regno) == PCOQ_TAIL_REGNUM) \ if ((regno) == PCOQ_HEAD_REGNUM || (regno) == PCOQ_TAIL_REGNUM) \
(buf)[sizeof(CORE_ADDR) -1] &= ~0x3; \ (buf)[sizeof(CORE_ADDR) -1] &= ~0x3; \

4
gdb/regcache.c

@ -571,8 +571,8 @@ supply_register (int regnum, char *val)
through the method gdbarch_register_read() clean up the through the method gdbarch_register_read() clean up the
values. */ values. */
#ifdef CLEAN_UP_REGISTER_VALUE #ifdef DEPRECATED_CLEAN_UP_REGISTER_VALUE
CLEAN_UP_REGISTER_VALUE (regnum, register_buffer (regnum)); DEPRECATED_CLEAN_UP_REGISTER_VALUE (regnum, register_buffer (regnum));
#endif #endif
} }

Loading…
Cancel
Save