This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Add instruction_reader to arm process record
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 22 Mar 2017 06:09:58 -0400
- Subject: [binutils-gdb] Add instruction_reader to arm process record
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 728a79135f51a1c20719ebaf3c98446d9ee248db ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 728a79135f51a1c20719ebaf3c98446d9ee248db
Add instruction_reader to arm process record
This patch adds an abstract class abstract_memory_reader a
and pass it to the code reading instructions in arm process record,
rather than using target_read_memory to read from real target. This
paves the way for adding more unit tests to arm process record.
gdb:
2017-03-16 Yao Qi <yao.qi@linaro.org>
* arm-tdep.c (abstract_memory_reader): New class.
(instruction_reader): New class.
(extract_arm_insn): Add argument 'reader'. Callers updated.
(decode_insn): Likewise.