diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-02-26 15:00:36 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-02-26 15:00:36 +0000 |
commit | 1f33efec7c6d1357d7e867176cfb88942fc513a8 (patch) | |
tree | e4114d206b2bdceaa19a63bb8d81350c97f49348 /gdb/ChangeLog | |
parent | ce90fefec908ee50ae5a3b22b03447df638a54c1 (diff) | |
download | gdb-1f33efec7c6d1357d7e867176cfb88942fc513a8.zip gdb-1f33efec7c6d1357d7e867176cfb88942fc513a8.tar.gz gdb-1f33efec7c6d1357d7e867176cfb88942fc513a8.tar.bz2 |
Record right reg num of thumb special data instructions
When GDB decodes these thumb special data instructions, such as 'mov sp, r7'
the Rd is got incorrectly. According to the arch reference manual, the Rd
is DN:Rdn, in which DN is bit 7 and Rdn is bits 0 to 2. This patch fixes it.
gdb:
2016-02-26 Yao Qi <yao.qi@linaro.org>
* arm-tdep.c (thumb_record_ld_st_reg_offset): Fix the register
number of Rd.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fe3aa36..36cbef6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2016-02-26 Yao Qi <yao.qi@linaro.org> + + * arm-tdep.c (thumb_record_ld_st_reg_offset): Fix the register + number of Rd. + 2016-02-25 Doug Evans <dje@google.com> * remote-m32r-sdi.c (recv_char_data): Initialize val to avoid |