Move have_ptrace_getregset to linux-low.c
authorYao Qi <yao.qi@linaro.org>
Tue, 4 Aug 2015 13:34:14 +0000 (14:34 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 4 Aug 2015 13:34:14 +0000 (14:34 +0100)
commitded48a5ef34314f7af698b7ec7916b084c94b18d
tree826b537cb9950cbc3b6074bfcbc5976a096363d3
parentc6343a91d94e9516afe56dfe85e435922bd9ea04
Move have_ptrace_getregset to linux-low.c

This patch moves variable have_ptrace_getregset from linux-x86-low.c
to linux-low.c, so that arm can use it too.

gdb/gdbserver:

2015-08-04  Yao Qi  <yao.qi@linaro.org>

* linux-x86-low.c (have_ptrace_getregset): Move it to ...
* linux-low.c: ... here.
* linux-low.h (have_ptrace_getregset): Declare it.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-low.h
gdb/gdbserver/linux-x86-low.c