diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-09-21 09:02:25 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-09-21 09:02:25 +0100 |
commit | 88240b186d224d634633d9996832f1235364b6d4 (patch) | |
tree | e070bfa5fcaa2a1f25dc9599d9511cc5cec50c31 /sim/ppc/gen-idecode.c | |
parent | d1b0a7bfd3df05fd2009b62b19b7535bbc6555c0 (diff) | |
download | gdb-88240b186d224d634633d9996832f1235364b6d4.zip gdb-88240b186d224d634633d9996832f1235364b6d4.tar.gz gdb-88240b186d224d634633d9996832f1235364b6d4.tar.bz2 |
[SIM, ARM] Fix build failure
This patch fixes the build failure by using disassembler to get
disassemble function pointer, and do the disassembly, because
print_insn_little_arm is no longer visible outside opcodes/
binutils-gdb/sim/arm/wrapper.c:98:10: error: implicit declaration of function 'print_insn_little_arm' [-Werror=implicit-function-declaration]
size = print_insn_little_arm (0, & info);
^
sim/arm:
2017-09-21 Yao Qi <yao.qi@linaro.org>
* wrapper.c (print_insn): Use disassembler instead of
print_insn_little_arm.
Diffstat (limited to 'sim/ppc/gen-idecode.c')
0 files changed, 0 insertions, 0 deletions