From 0b434a0046c31c0ea5e286b13b39705cb1a800e9 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 27 Jun 2002 18:28:23 +0000 Subject: From 2002-06-27 John David Anglin : * regcache.c (supply_register): Add missing argument to register_buffer call. --- gdb/regcache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/regcache.c') 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 } -- cgit v1.1