/* Low level Alpha GNU/Linux interface, for GDB when running native.
- Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011
- Free Software Foundation, Inc.
+ Copyright (C) 2005-2015 Free Software Foundation, Inc.
This file is part of GDB.
#include "alpha-tdep.h"
-#include <sys/ptrace.h>
+#include "nat/gdb_ptrace.h"
#include <alpha/ptrace.h>
#include <sys/procfs.h>
#define ALPHA_UNIQUE_PTRACE_ADDR 65
-/*
- * See the comment in m68k-tdep.c regarding the utility of these functions.
- */
+/* See the comment in m68k-tdep.c regarding the utility of these
+ functions. */
void
supply_gregset (struct regcache *regcache, const gdb_gregset_t *gregsetp)
alpha_fill_int_regs (regcache, regno, regp, regp + 31, regp + 32);
}
-/*
- * Now we do the same thing for floating-point registers.
- * Again, see the comments in m68k-tdep.c.
- */
+/* Now we do the same thing for floating-point registers.
+ Again, see the comments in m68k-tdep.c. */
void
supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregsetp)
return FPR_BASE + regno - gdbarch_fp0_regnum (gdbarch);
}
-void _initialialize_alpha_linux_nat (void);
+void _initialize_alpha_linux_nat (void);
void
_initialize_alpha_linux_nat (void)