diff options
Diffstat (limited to 'gdb/vax-tdep.c')
-rw-r--r-- | gdb/vax-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/vax-tdep.c b/gdb/vax-tdep.c index 4c1ab2e..a1783ec 100644 --- a/gdb/vax-tdep.c +++ b/gdb/vax-tdep.c @@ -227,9 +227,9 @@ vax_return_value (struct gdbarch *gdbarch, struct value *function, if (readbuf) { /* Read the contents of R0 and (if necessary) R1. */ - regcache_cooked_read (regcache, VAX_R0_REGNUM, buf); + regcache->cooked_read (VAX_R0_REGNUM, buf); if (len > 4) - regcache_cooked_read (regcache, VAX_R1_REGNUM, buf + 4); + regcache->cooked_read (VAX_R1_REGNUM, buf + 4); memcpy (readbuf, buf, len); } if (writebuf) |