/* 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.
{
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;