aboutsummaryrefslogtreecommitdiff
path: root/gdb/avr-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:42 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:42 -0400
commitb66f5587de2a096f357124b20376b2bab980238b (patch)
tree54bff71969b64a818820a645ce4ee8046401cbb8 /gdb/avr-tdep.c
parent6aa7d72401387cacc5a7699520045ce9083a526a (diff)
downloadgdb-b66f5587de2a096f357124b20376b2bab980238b.zip
gdb-b66f5587de2a096f357124b20376b2bab980238b.tar.gz
gdb-b66f5587de2a096f357124b20376b2bab980238b.tar.bz2
Remove regcache_cooked_write
Remove regcache_cooked_write, update callers to use regcache::cooked_write. gdb/ChangeLog: * regcache.h (regcache_cooked_write): Remove, update callers to use regcache::cooked_write. * regcache.c (regcache_cooked_write): Remove.
Diffstat (limited to 'gdb/avr-tdep.c')
-rw-r--r--gdb/avr-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c
index 2629d54..d7895af 100644
--- a/gdb/avr-tdep.c
+++ b/gdb/avr-tdep.c
@@ -953,7 +953,7 @@ avr_return_value (struct gdbarch *gdbarch, struct value *function,
if (writebuf != NULL)
{
for (i = 0; i < TYPE_LENGTH (valtype); i++)
- regcache_cooked_write (regcache, lsb_reg + i, writebuf + i);
+ regcache->cooked_write (lsb_reg + i, writebuf + i);
}
if (readbuf != NULL)