diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-06-01 12:13:02 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-06-01 12:13:02 +0100 |
commit | 433bbbf8574a04c1639c5466fd7c320b510b9512 (patch) | |
tree | 810c681f5a68de4b8794d91ceb8849d80092aa53 /gdb/ChangeLog | |
parent | ca9b78ce906d588bb9aab0c6739c2dbdacd62612 (diff) | |
download | gdb-433bbbf8574a04c1639c5466fd7c320b510b9512.zip gdb-433bbbf8574a04c1639c5466fd7c320b510b9512.tar.gz gdb-433bbbf8574a04c1639c5466fd7c320b510b9512.tar.bz2 |
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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8dd9861..2ed122d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 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. + +2015-06-01 Yao Qi <yao.qi@linaro.org> + * amd64-linux-nat.c: Include "nat/linux-ptrace.h". * i386-linux-nat.c: Likewise. * nat/linux-ptrace.h (PTRACE_GETREGSET, PTRACE_SETREGSET): Define. |