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
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: yao at codesourcery dot com
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 24 Aug 2010 13:27:03 +0200 (CEST)
- Subject: Re: [Patch,ARM] Next pc of sigreturn/rt_sigreturn syscall
- References: <20100824063854.GA29794@codesourcery.com>
> Date: Mon, 23 Aug 2010 23:38:54 -0700
> From: Yao Qi <yao@codesourcery.com>
>
> Hi,
> This patch is to calculate correct address of 'next pc' of syscall
> sigreturn and rt_sigreturn.
You're polluting the genric arm code with Linux-specific stuff.
Please don't do that. If something like this is needed, it should be
added to code in arm-linux-tdep.c.