This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch,ARM] Next pc of sigreturn/rt_sigreturn syscall
On Thu, Aug 26, 2010 at 04:50:48PM +0800, Yao Qi wrote:
> > Why did you remove the condition_true check?
>
> Because I noticed that condition_true always returns true if cond is 0xf
> (INST_NV).
Sorry, you're right - I completely misread this.
> 2010-08-26 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.
This is OK. Thanks!
--
Daniel Jacobowitz
CodeSourcery