summaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2004-04-17 17:31:40 +0000
committerRandolph Chung <tausq@debian.org>2004-04-17 17:31:40 +0000
commitd5240cba0a5361345ea0a4c597c58ef9b749e46a (patch)
treecf03d74617c54d676087160e2972a6c09c7857f6 /gdb/regcache.c
parent07d15647e431ede17f370416570c24beea88ab38 (diff)
downloadgdb-d5240cba0a5361345ea0a4c597c58ef9b749e46a.tar.gz
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.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index c455e46690e..f8d885a4027 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -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