aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-27 18:28:23 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-27 18:28:23 +0000
commit0b434a0046c31c0ea5e286b13b39705cb1a800e9 (patch)
treecc82a9c1b7c22028bdf7e191d4b2bc093b9dd1c9 /gdb/regcache.c
parentf30e5a77b91aa94a2de81867721b027e7682e8ab (diff)
downloadgdb-0b434a0046c31c0ea5e286b13b39705cb1a800e9.zip
gdb-0b434a0046c31c0ea5e286b13b39705cb1a800e9.tar.gz
gdb-0b434a0046c31c0ea5e286b13b39705cb1a800e9.tar.bz2
From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
* regcache.c (supply_register): Add missing argument to register_buffer call.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index ba6f547..70a75b5 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -1003,7 +1003,8 @@ supply_register (int regnum, char *val)
values. */
#ifdef DEPRECATED_CLEAN_UP_REGISTER_VALUE
- DEPRECATED_CLEAN_UP_REGISTER_VALUE (regnum, register_buffer (regnum));
+ DEPRECATED_CLEAN_UP_REGISTER_VALUE \
+ (regnum, register_buffer (current_regcache, regnum));
#endif
}