diff options
Diffstat (limited to 'gdb/nds32-tdep.c')
-rw-r--r-- | gdb/nds32-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nds32-tdep.c b/gdb/nds32-tdep.c index 5edaab3..73a71b9 100644 --- a/gdb/nds32-tdep.c +++ b/gdb/nds32-tdep.c @@ -462,7 +462,7 @@ nds32_pseudo_register_read (struct gdbarch *gdbarch, offset = (regnum & 1) ? 0 : 4; fdr_regnum = NDS32_FD0_REGNUM + (regnum >> 1); - status = regcache_raw_read (regcache, fdr_regnum, reg_buf); + status = regcache->raw_read (fdr_regnum, reg_buf); if (status == REG_VALID) memcpy (buf, reg_buf + offset, 4); |