diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-05-24 17:23:52 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-05-24 17:23:52 +0100 |
commit | 003ca0fd22863aaf1a9811c8a35a0133a2d27fb1 (patch) | |
tree | e988f36b10ca84252d27167db6d8d32e81f1c831 /opcodes/ChangeLog | |
parent | 60fd657792228e3eb59e87c26fcdeccbfe94d224 (diff) | |
download | gdb-003ca0fd22863aaf1a9811c8a35a0133a2d27fb1.zip gdb-003ca0fd22863aaf1a9811c8a35a0133a2d27fb1.tar.gz gdb-003ca0fd22863aaf1a9811c8a35a0133a2d27fb1.tar.bz2 |
Refactor disassembler selection
Nowadays, opcodes/disassemble.c:disassembler selects the proper
disassembler according to ABFD only. However, it actually
selects disassemblers according to arch, mach, endianess, and
abfd. This patch adds them to the parameters of disassembler,
so that its caller can still select disassemblers in case that
abfd is NULL (a typical case in GDB).
There isn't any functionality change.
binutils:
2017-05-24 Yao Qi <yao.qi@linaro.org>
* objdump.c (disassemble_data): Caller update.
include:
2017-05-24 Yao Qi <yao.qi@linaro.org>
* dis-asm.h (disassembler): Update declaration.
opcodes:
2017-05-24 Yao Qi <yao.qi@linaro.org>
* disassemble.c (disassembler): Add arguments a, big and mach.
Use them.
sim/common:
2017-05-24 Yao Qi <yao.qi@linaro.org>
* sim-trace.c (trace_disasm): Caller update.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r-- | opcodes/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 026c3f4..b461d78 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2017-05-24 Yao Qi <yao.qi@linaro.org> + + * disassemble.c (disassembler): Add arguments a, big and mach. + Use them. + 2017-05-22 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (NOTRACK_Fixup): New. |