/* Native-dependent code for GNU/Linux x86 (i386 and x86-64).
- Copyright (C) 1999-2015 Free Software Foundation, Inc.
+ Copyright (C) 1999-2018 Free Software Foundation, Inc.
This file is part of GDB.
#ifndef X86_LINUX_NAT_H
#define X86_LINUX_NAT_H 1
-#ifndef PTRACE_GETREGSET
-#define PTRACE_GETREGSET 0x4204
-#endif
-
-#ifndef PTRACE_SETREGSET
-#define PTRACE_SETREGSET 0x4205
-#endif
+#include "gdb_proc_service.h" /* For ps_err_e. */
-/* Does the current host support PTRACE_GETREGSET? */
-extern int have_ptrace_getregset;
\f
/* Helper for ps_get_thread_area. Sets BASE_ADDR to a pointer to