diff options
Diffstat (limited to 'gdb/mep-tdep.c')
-rw-r--r-- | gdb/mep-tdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/mep-tdep.c b/gdb/mep-tdep.c index 1f3f2bb..c8a5ecf 100644 --- a/gdb/mep-tdep.c +++ b/gdb/mep-tdep.c @@ -2139,9 +2139,8 @@ mep_store_return_value (struct gdbarch *arch, else offset = 0; - regcache_cooked_write_part (regcache, MEP_R0_REGNUM, - offset, TYPE_LENGTH (type), - valbuf); + regcache->cooked_write_part (MEP_R0_REGNUM, offset, TYPE_LENGTH (type), + valbuf); } /* Return values larger than a single register are returned in |