mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
2004-04-17 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_pseudo_register_read): Define. (hppa_gdbarch_init): Set pseudo_register_read. * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Remove. * regcache.c (supply_register): Remove check for DEPRECATED_CLEAN_UP_REGISTER_VALUE since we've removed the last user.
This commit is contained in:
@ -1230,20 +1230,6 @@ void
|
||||
supply_register (int regnum, const void *val)
|
||||
{
|
||||
regcache_raw_supply (current_regcache, regnum, val);
|
||||
|
||||
/* On some architectures, e.g. HPPA, there are a few stray bits in
|
||||
some registers, that the rest of the code would like to ignore. */
|
||||
|
||||
/* NOTE: cagney/2001-03-16: The macro CLEAN_UP_REGISTER_VALUE is
|
||||
going to be deprecated. Instead architectures will leave the raw
|
||||
register value as is and instead clean things up as they pass
|
||||
through the method gdbarch_pseudo_register_read() clean up the
|
||||
values. */
|
||||
|
||||
#ifdef DEPRECATED_CLEAN_UP_REGISTER_VALUE
|
||||
DEPRECATED_CLEAN_UP_REGISTER_VALUE \
|
||||
(regnum, register_buffer (current_regcache, regnum));
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user