Support CBNZ, CBZ, REV, REV16 and REVSH in arm process record
This patch adds the support for these instructions in arm process record. gdb: 2017-03-16 Yao Qi <yao.qi@linaro.org> * arm-tdep.c (thumb_record_misc): Decode CBNZ, CBZ, REV16, and REVSH instructions.
This commit is contained in:
parent
b121eeb997
commit
ba14f3792f
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2017-03-16 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
|
* arm-tdep.c (thumb_record_misc): Decode CBNZ, CBZ, REV16,
|
||||||
|
and REVSH instructions.
|
||||||
|
|
||||||
2017-03-16 Yao Qi <yao.qi@linaro.org>
|
2017-03-16 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* arm-tdep.c [GDB_SELF_TEST]: include "selftests.h".
|
* arm-tdep.c [GDB_SELF_TEST]: include "selftests.h".
|
||||||
|
|
|
@ -11979,7 +11979,6 @@ thumb_record_misc (insn_decode_record *thumb_insn_r)
|
||||||
case 9: /* fall through */
|
case 9: /* fall through */
|
||||||
case 11:
|
case 11:
|
||||||
/* CBNZ, CBZ */
|
/* CBNZ, CBZ */
|
||||||
return -1;
|
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
/* SXTH, SXTB, UXTH, UXTB */
|
/* SXTH, SXTB, UXTH, UXTB */
|
||||||
|
@ -12012,7 +12011,8 @@ thumb_record_misc (insn_decode_record *thumb_insn_r)
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
/* REV, REV16, REVSH */
|
/* REV, REV16, REVSH */
|
||||||
return -1;
|
record_buf[0] = bits (thumb_insn_r->arm_insn, 0, 2);
|
||||||
|
thumb_insn_r->reg_rec_count = 1;
|
||||||
break;
|
break;
|
||||||
case 12: /* fall through */
|
case 12: /* fall through */
|
||||||
case 13:
|
case 13:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue