summaryrefslogtreecommitdiff
path: root/gdb/shnbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/shnbsd-nat.c')
-rw-r--r--gdb/shnbsd-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/shnbsd-nat.c b/gdb/shnbsd-nat.c
index 0367fde1a8f..e1b56e66405 100644
--- a/gdb/shnbsd-nat.c
+++ b/gdb/shnbsd-nat.c
@@ -46,7 +46,7 @@ fetch_inferior_registers (int regno)
(PTRACE_ARG3_TYPE) &inferior_registers, 0) == -1)
perror_with_name ("Couldn't get registers");
- sh_nbsd_supply_register ((char *) &inferior_registers, regno);
+ shnbsd_supply_reg ((char *) &inferior_registers, regno);
if (regno != -1)
return;
@@ -64,7 +64,7 @@ store_inferior_registers (int regno)
(PTRACE_ARG3_TYPE) &inferior_registers, 0) == -1)
perror_with_name ("Couldn't get registers");
- sh_nbsd_fill_register ((char *) &inferior_registers, regno);
+ shnbsd_fill_reg ((char *) &inferior_registers, regno);
if (ptrace (PT_SETREGS, PIDGET (inferior_ptid),
(PTRACE_ARG3_TYPE) &inferior_registers, 0) == -1)