diff options
Diffstat (limited to 'gdb/avr-tdep.c')
-rw-r--r-- | gdb/avr-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index 5aa61ba2d9e..2629d54d457 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -959,7 +959,7 @@ avr_return_value (struct gdbarch *gdbarch, struct value *function, if (readbuf != NULL) { for (i = 0; i < TYPE_LENGTH (valtype); i++) - regcache_cooked_read (regcache, lsb_reg + i, readbuf + i); + regcache->cooked_read (lsb_reg + i, readbuf + i); } return RETURN_VALUE_REGISTER_CONVENTION; |