[Patch,ARM] Next pc of sigreturn/rt_sigreturn syscall
Mark Kettenis
mark.kettenis@xs4all.nl
Mon Aug 30 13:08:00 GMT 2010
> Date: Mon, 30 Aug 2010 08:59:58 -0400
> From: Daniel Jacobowitz <dan@codesourcery.com>
>
> 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!
If Daniel is happy with this, I'm as well.
Thanks,
Mark
More information about the Gdb-patches
mailing list