aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-nbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sh-nbsd-nat.c')
-rw-r--r--gdb/sh-nbsd-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sh-nbsd-nat.c b/gdb/sh-nbsd-nat.c
index 7cf7a99..11c26be 100644
--- a/gdb/sh-nbsd-nat.c
+++ b/gdb/sh-nbsd-nat.c
@@ -47,7 +47,7 @@ shnbsd_fetch_inferior_registers (struct target_ops *ops,
{
pid_t pid = ptid_get_pid (regcache_get_ptid (regcache));
- if (regno == -1 || GETREGS_SUPPLIES (get_regcache_arch (regcache), regno))
+ if (regno == -1 || GETREGS_SUPPLIES (regcache->arch (), regno))
{
struct reg inferior_registers;
@@ -70,7 +70,7 @@ shnbsd_store_inferior_registers (struct target_ops *ops,
{
pid_t pid = ptid_get_pid (regcache_get_ptid (regcache));
- if (regno == -1 || GETREGS_SUPPLIES (get_regcache_arch (regcache), regno))
+ if (regno == -1 || GETREGS_SUPPLIES (regcache->arch (), regno))
{
struct reg inferior_registers;