diff options
Diffstat (limited to 'gdb/ppc-linux-tdep.c')
-rw-r--r-- | gdb/ppc-linux-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index 5716f82..c114bee 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -818,7 +818,7 @@ ppc_linux_get_syscall_number (struct gdbarch *gdbarch, /* Getting the system call number from the register. When dealing with PowerPC architecture, this information is stored at 0th register. */ - regcache_cooked_read (regcache, tdep->ppc_gp0_regnum, buf.data ()); + regcache->cooked_read (tdep->ppc_gp0_regnum, buf.data ()); return extract_signed_integer (buf.data (), tdep->wordsize, byte_order); } |