[aarch64] expose disas_aarch64_insn and rename it to aarch64_decode_insn
authorYao Qi <yao.qi@linaro.org>
Fri, 2 Oct 2015 10:36:00 +0000 (11:36 +0100)
committerYao Qi <yao.qi@linaro.org>
Fri, 2 Oct 2015 14:23:58 +0000 (15:23 +0100)
commit36f4aab18ccf897b405f137d6cd4f9673bd947fc
tree5d416d7c90ef4bc235703c9e5bdf0746487d9d22
parent7232d38966babb802e9d8d0e9e591346a7b93d96
[aarch64] expose disas_aarch64_insn and rename it to aarch64_decode_insn

We want to use disas_aarch64_insn inside GDB to decode instructions, so
this patch exposes it and rename it to aarch64_decode_insn to follow
the conventions of other interfaces.

include/opcode:

2015-10-02  Yao Qi  <yao.qi@linaro.org>

* aarch64.h (aarch64_decode_insn): Declare it.

opcodes:

2015-10-02  Yao Qi  <yao.qi@linaro.org>

* aarch64-dis.c (disas_aarch64_insn): Remove static.  Change
argument insn type to aarch64_insn.  Rename to ...
(aarch64_decode_insn): ... it.
(print_insn_aarch64_word): Caller updated.
include/opcode/ChangeLog
include/opcode/aarch64.h
opcodes/ChangeLog
opcodes/aarch64-dis.c