diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-03-16 16:35:18 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-03-16 16:35:18 +0000 |
commit | 728a79135f51a1c20719ebaf3c98446d9ee248db (patch) | |
tree | 7227bbc965d88bc7f5ec719e626e26d8ae78913c /gdb/ser-unix.c | |
parent | a7c0469f992721b30665ba92f4f2f74d29032a84 (diff) | |
download | binutils-728a79135f51a1c20719ebaf3c98446d9ee248db.zip binutils-728a79135f51a1c20719ebaf3c98446d9ee248db.tar.gz binutils-728a79135f51a1c20719ebaf3c98446d9ee248db.tar.bz2 |
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.
Diffstat (limited to 'gdb/ser-unix.c')
0 files changed, 0 insertions, 0 deletions