Tweak ARM process record
authorYao Qi <yao.qi@linaro.org>
Fri, 4 Mar 2016 15:57:55 +0000 (15:57 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 4 Mar 2016 15:57:55 +0000 (15:57 +0000)
commitca92db2d5885c03d3e0ed23c96b5c6ab336d908d
treea4d898c2db263f451d28b99386ee051bb3ae4db7
parent73519cce7cbe31609a2aa9c27955555237a0c51f
Tweak ARM process record

This patch removes the printing "Process record does not support",
and do the print by calling arm_record_unsupported_insn in the
caller.  Also, call arm_record_extension_space only when condition
is 0xf.

gdb:

2016-03-04  Yao Qi  <yao.qi@linaro.org>

* arm-tdep.c (arm_record_extension_space): Remove code
printing "Process record does not support".
(arm_record_data_proc_misc_ld_str): Likewise.
(decode_insn): Call arm_record_extension_space if condition
is 0xf.  Call arm_record_unsupported_insn if ret isn't
ARM_RECORD_SUCCESS.  Use 'ret' instead of 'insn_id' to hold
the value of thumb2_record_decode_insn_handler.
gdb/ChangeLog
gdb/arm-tdep.c