aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/regcache.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1fc1963..77119fe 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2002-06-27 Andrew Cagney <ac131313@redhat.com>
+ From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
+ * regcache.c (supply_register): Add missing argument to
+ register_buffer call.
+
+2002-06-27 Andrew Cagney <ac131313@redhat.com>
+
* Makefile.in (init.c): Drop -e option to grep. Not necessary and
Solaris /bin/grep does not not like it. From Peter Schauer.
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
}