summaryrefslogtreecommitdiff
path: root/gdb/alpha-bsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/alpha-bsd-nat.c')
-rw-r--r--gdb/alpha-bsd-nat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/alpha-bsd-nat.c b/gdb/alpha-bsd-nat.c
index df9892e7e8c..a7c937c50ee 100644
--- a/gdb/alpha-bsd-nat.c
+++ b/gdb/alpha-bsd-nat.c
@@ -95,14 +95,14 @@ alpha_bsd_nat_target::store_registers (struct regcache *regcache, int regno)
{
struct reg gregs;
if (ptrace (PT_GETREGS, regcache->ptid ().pid (),
- (PTRACE_TYPE_ARG3) &gregs, lwp) == -1)
- perror_with_name (_("Couldn't get registers"));
+ (PTRACE_TYPE_ARG3) &gregs, lwp) == -1)
+ perror_with_name (_("Couldn't get registers"));
alphabsd_fill_reg (regcache, (char *) &gregs, regno);
if (ptrace (PT_SETREGS, regcache->ptid ().pid (),
- (PTRACE_TYPE_ARG3) &gregs, lwp) == -1)
- perror_with_name (_("Couldn't write registers"));
+ (PTRACE_TYPE_ARG3) &gregs, lwp) == -1)
+ perror_with_name (_("Couldn't write registers"));
if (regno != -1)
return;