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/arm/ChangeLog | |
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/arm/ChangeLog')
-rw-r--r-- | sim/arm/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index 55c592e..db530b7 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,3 +1,8 @@ +2017-09-21 Yao Qi <yao.qi@linaro.org> + + * wrapper.c (print_insn): Use disassembler instead of + print_insn_little_arm. + 2017-09-06 John Baldwin <jhb@FreeBSD.org> * configure: Regenerate. |