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 8cc9d5b..991a870 100644 --- a/gdb/nds32-tdep.c +++ b/gdb/nds32-tdep.c @@ -500,7 +500,7 @@ nds32_pseudo_register_write (struct gdbarch *gdbarch, offset = (regnum & 1) ? 0 : 4; fdr_regnum = NDS32_FD0_REGNUM + (regnum >> 1); - regcache_raw_read (regcache, fdr_regnum, reg_buf); + regcache->raw_read (fdr_regnum, reg_buf); memcpy (reg_buf + offset, buf, 4); regcache_raw_write (regcache, fdr_regnum, reg_buf); return; |