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