Fix the remote-sim.c build
[binutils-gdb.git] / gdb / alpha-bsd-nat.c
index df9892e7e8c98408d48d151b50136d92d4fe6dc1..566a6b6ac1ad97cd860cb1a5106fc863b377e937 100644 (file)
@@ -1,6 +1,6 @@
 /* Native-dependent code for Alpha BSD's.
 
-   Copyright (C) 2000-2020 Free Software Foundation, Inc.
+   Copyright (C) 2000-2022 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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;