aboutsummaryrefslogtreecommitdiff
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
commit0f8d9d59e8dd52999d4ef9f4c9089df4180c2d4f (patch)
tree01b71d8eebcd62aaca7a9dff80f209cc45e98583 /gdb/regcache.c
parent7c46b9fb41fd107882032ecc34897a8e86e8264a (diff)
downloadgdb-0f8d9d59e8dd52999d4ef9f4c9089df4180c2d4f.zip
gdb-0f8d9d59e8dd52999d4ef9f4c9089df4180c2d4f.tar.gz
gdb-0f8d9d59e8dd52999d4ef9f4c9089df4180c2d4f.tar.bz2
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 c455e46..f8d885a 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