struct linux_nat_target *linux_target;
-/* Does the current host support PTRACE_GETREGSET? */
+/* See nat/linux-nat.h. */
enum tribool have_ptrace_getregset = TRIBOOL_UNKNOWN;
/* When true, print debug messages relating to the linux native target. */
lwp_info_safe_range all_lwps_safe ();
-/* Does the current host support PTRACE_GETREGSET? */
-extern enum tribool have_ptrace_getregset;
-
/* Called from the LWP layer to inform the thread_db layer that PARENT
spawned CHILD. Both LWPs are currently stopped. This function
does whatever is required to have the child LWP under the
instead SIGTRAP with bit 7 set. */
#define SYSCALL_SIGTRAP (SIGTRAP | 0x80)
+/* Does the current host support PTRACE_GETREGSET? */
+extern tribool have_ptrace_getregset;
+
/* Return the ptid of the current lightweight process. With NPTL
threads and LWPs map 1:1, so this is equivalent to returning the
ptid of the current thread. This function must be provided by
} Elf64_auxv_t;
#endif
-/* Does the current host support PTRACE_GETREGSET? */
+/* See nat/linux-nat.h. */
enum tribool have_ptrace_getregset = TRIBOOL_UNKNOWN;
/* Return TRUE if THREAD is the leader thread of the process. */
bool thread_db_thread_handle (ptid_t ptid, gdb_byte **handle, int *handle_len);
-extern enum tribool have_ptrace_getregset;
-
/* Search for the value with type MATCH in the auxv vector, with entries of
length WORDSIZE bytes, of process with pid PID. If found, store the
value in *VALP and return 1. If not found or if there is an error,