Read instruction with byte_order_for_code
authorYao Qi <yao.qi@linaro.org>
Wed, 13 Jan 2016 16:15:31 +0000 (16:15 +0000)
committerYao Qi <yao.qi@linaro.org>
Wed, 13 Jan 2016 16:15:31 +0000 (16:15 +0000)
commit4e7b8beaa3b7b9ac8577b10afa9d58bb9d453b08
treec4c4049c6893a84579583a0c4e8b4a4e00b70257
parent663f6d42f47265d2deaa86c8a976e658fb13f820
Read instruction with byte_order_for_code

When reading instruction, we should use byte_order_for_code instead
of byte_order.

gdb:

2016-01-13  Yao Qi  <yao.qi@linaro.org>

* arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Use
byte_order_for_code to read instruction.
gdb/ChangeLog
gdb/arch/arm-get-next-pcs.c