summaryrefslogtreecommitdiff
path: root/gdb/x86-linux-nat.h
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2015-06-01 12:13:02 +0100
committerYao Qi <yao.qi@linaro.org>2015-06-01 12:13:02 +0100
commit433bbbf8574a04c1639c5466fd7c320b510b9512 (patch)
tree810c681f5a68de4b8794d91ceb8849d80092aa53 /gdb/x86-linux-nat.h
parentca9b78ce906d588bb9aab0c6739c2dbdacd62612 (diff)
downloadbinutils-gdb-433bbbf8574a04c1639c5466fd7c320b510b9512.tar.gz
Move have_ptrace_getregset to linux-nat.c
I'll let arm-linux-nat.c to use PTRACE_GETREGSET if kernel supports, so this patch is to move have_ptrace_getregset from x86-linux-nat.c to linux-nat.c. gdb: 2015-06-01 Yao Qi <yao.qi@linaro.org> * x86-linux-nat.c (have_ptrace_getregset): Move it to ... * linux-nat.c: ... here. * x86-linux-nat.h (have_ptrace_getregset): Move the declaration to ... * linux-nat.h: ... here.
Diffstat (limited to 'gdb/x86-linux-nat.h')
-rw-r--r--gdb/x86-linux-nat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/x86-linux-nat.h b/gdb/x86-linux-nat.h
index 7c4d87c47cc..70c207a95b0 100644
--- a/gdb/x86-linux-nat.h
+++ b/gdb/x86-linux-nat.h
@@ -20,8 +20,6 @@
#ifndef X86_LINUX_NAT_H
#define X86_LINUX_NAT_H 1
-/* Does the current host support PTRACE_GETREGSET? */
-extern int have_ptrace_getregset;
/* Helper for ps_get_thread_area. Sets BASE_ADDR to a pointer to