Move have_ptrace_getregset to linux-nat.c
authorYao Qi <yao.qi@linaro.org>
Mon, 1 Jun 2015 11:13:02 +0000 (12:13 +0100)
committerYao Qi <yao.qi@linaro.org>
Mon, 1 Jun 2015 11:13:02 +0000 (12:13 +0100)
commit433bbbf8574a04c1639c5466fd7c320b510b9512
tree810c681f5a68de4b8794d91ceb8849d80092aa53
parentca9b78ce906d588bb9aab0c6739c2dbdacd62612
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.
gdb/ChangeLog
gdb/linux-nat.c
gdb/linux-nat.h
gdb/x86-linux-nat.c
gdb/x86-linux-nat.h
This page took 0.030397 seconds and 4 git commands to generate.