2010-03-04 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
authorDaniel Jacobowitz <drow@false.org>
Thu, 4 Mar 2010 13:42:12 +0000 (13:42 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 4 Mar 2010 13:42:12 +0000 (13:42 +0000)
commit50e98be46933386c9ca6c17889230afb217c7e28
tree305ee94fd1ec1fff1b73a1d12ad81d7004eb5c4f
parent2e3ceee9bd6f5b1006be200faf78b1fdc1e8f4c8
2010-03-04  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>

* arm-tdep.c (arm_pc_is_thumb): Add heuristic that tries to get
the state right when single stepping.
(arm_get_next_pc_raw, thumb_get_next_pc_raw): New functions.
Get the next PC along with the instruction state.
(thumb_get_next_pc): Remove.
(arm_get_next_pc): Modified to use arm_get_next_pc_raw.
gdb/ChangeLog
gdb/arm-tdep.c