2010-08-30 Yao Qi <yao@codesourcery.com>
authorYao Qi <yao@codesourcery.com>
Mon, 30 Aug 2010 15:26:28 +0000 (15:26 +0000)
committerYao Qi <yao@codesourcery.com>
Mon, 30 Aug 2010 15:26:28 +0000 (15:26 +0000)
commit25b41d01eaa6f8f68491ef2eb65ca403907269f7
treea14669ff0fd05c2310996f7fb51fd2beaa740599
parenteb34ac7a77ac46a9ddde8c67914c2f4e584429dc
2010-08-30  Yao Qi  <yao@codesourcery.com>

* arm-linux-tdep.c (arm_linux_sigreturn_return_addr): New.
(arm_linux_syscall_next_pc): New.
(arm_linux_copy_svc): Use arm_linux_sigreturn_return_addr instead.
(arm_linux_init_abi): Initialize syscall_next_pc.
* arm-tdep.c (thumb_get_next_pc_raw):  Get next pc of SWI in Thumb mode.
(arm_get_next_pc_raw): Get next pc of SWI in ARM mode.
* arm-tdep.h (struct gdbarch_tdep): Add a function pointer syscall_next_pc.
Declare arm_frame_is_thumb.
gdb/ChangeLog
gdb/arm-linux-tdep.c
gdb/arm-tdep.c
gdb/arm-tdep.h