diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-09-16 14:58:31 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-09-21 12:29:53 +0100 |
commit | fc6cda2ee85d2c2719db3b5ae3a1ae963f28416b (patch) | |
tree | 6fffa61c201da1162d729cd919d3fc5608d1d70d /gdb/gdbserver/ChangeLog | |
parent | 44b8317a75390fd3713da6d8cc0f593c041fd8a2 (diff) | |
download | gdb-fc6cda2ee85d2c2719db3b5ae3a1ae963f28416b.zip gdb-fc6cda2ee85d2c2719db3b5ae3a1ae963f28416b.tar.gz gdb-fc6cda2ee85d2c2719db3b5ae3a1ae963f28416b.tar.bz2 |
Keep reserved bits in CPSR on write
In patch https://sourceware.org/ml/gdb-patches/2016-04/msg00529.html
I cleared reserved bits when reading CPSR. It makes a problem that
these bits (zero) are written back to kernel through ptrace, and it
changes the state of the processor on some recent kernel, which is
unexpected.
In this patch, I keep these reserved bits when write CPSR back to
hardware.
gdb:
2016-09-21 Yao Qi <yao.qi@linaro.org>
* aarch32-linux-nat.c (aarch32_gp_regcache_collect): Keep
bits 20 to 23.
gdb/gdbserver:
2016-09-21 Yao Qi <yao.qi@linaro.org>
* linux-aarch32-low.c (arm_fill_gregset): Keep bits 20 to
23.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index c97c777..c1f1dff 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2016-09-21 Yao Qi <yao.qi@linaro.org> + + * linux-aarch32-low.c (arm_fill_gregset): Keep bits 20 to + 23. + 2016-09-19 Sergio Durigan Junior <sergiodj@redhat.com> * server.c (start_inferior): Call target_mourn_inferior instead of |