From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
authorAndrew Cagney <cagney@redhat.com>
Thu, 27 Jun 2002 18:28:23 +0000 (18:28 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 27 Jun 2002 18:28:23 +0000 (18:28 +0000)
* regcache.c (supply_register): Add missing argument to
register_buffer call.

gdb/ChangeLog
gdb/regcache.c

index 1fc19630f689dda1f348f2b7c2cdb539cbc647bb..77119fe84a28f1a7d58036db6f39cd76fef60571 100644 (file)
@@ -1,3 +1,9 @@
+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
index ba6f547573f922fec2cd56d9b6e69ff949b97380..70a75b5ed77c108301a542398b578731eff06ab7 100644 (file)
@@ -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
 }