2011-02-16 Yao Qi <yao@qiyaows>
authorYao Qi <yao@codesourcery.com>
Wed, 16 Feb 2011 14:54:42 +0000 (14:54 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 16 Feb 2011 14:54:42 +0000 (14:54 +0000)
commita42244dbec4d58c5577a84215d92c85a6c067d1a
tree26c29b1b46afb067d5cc8d0fd227585b706c73d3
parent3dfcbbd281d9c7f0a0f29a3aabf59e45a5142fd4
2011-02-16  Yao Qi  <yao@qiyaows>

* infrun.c (get_displaced_step_closure_by_addr): New.
* inferior.h: Declare it.
* arm-tdep.c: (arm_pc_is_thumb): Call
get_displaced_step_closure_by_addr.  Adjust MEMADDR if it
returns non-NULL.
gdb/ChangeLog
gdb/arm-tdep.c
gdb/inferior.h
gdb/infrun.c