2011-03-02 Yao Qi <yao@codesourcery.com>
authorYao Qi <yao@codesourcery.com>
Wed, 2 Mar 2011 05:33:37 +0000 (05:33 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 2 Mar 2011 05:33:37 +0000 (05:33 +0000)
commit4db71c0b79ff7e89a392f903f39251faa795d69c
tree26ddf74e3e17c971de0a18e454e8ca45c1762326
parentb123da992dccc40b825d0967f7701f31b0f7e82a
2011-03-02  Yao Qi  <yao@codesourcery.com>

* arm-tdep.h (struct displaced_step_closure): Add two new fields
is_thumb and insn_size.
* arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset
on both ARM and Thumb mode.
(arm_process_displaced_insn): Set is_thumb and insn_size.
(arm_displaced_init_closure): Handle both 16-bit and 32-bit.
(arm_displaced_step_fixup): Likewise.
gdb/ChangeLog
gdb/arm-tdep.c
gdb/arm-tdep.h