From: Andrew Cagney Date: Thu, 27 Jun 2002 18:28:23 +0000 (+0000) Subject: From 2002-06-27 John David Anglin : X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b434a0046c31c0ea5e286b13b39705cb1a800e9;p=binutils-gdb.git From 2002-06-27 John David Anglin : * regcache.c (supply_register): Add missing argument to register_buffer call. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1fc19630f68..77119fe84a2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-06-27 Andrew Cagney + + From 2002-06-27 John David Anglin : + * regcache.c (supply_register): Add missing argument to + register_buffer call. + 2002-06-27 Andrew Cagney * Makefile.in (init.c): Drop -e option to grep. Not necessary and diff --git a/gdb/regcache.c b/gdb/regcache.c index ba6f547573f..70a75b5ed77 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 }