This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix Ericsson DICOS inferior function calls
> From: Pedro Alves <pedro@codesourcery.com>
> Date: Wed, 9 Jul 2008 16:48:10 +0100
>
> Hi Mark,
>
> On Monday 07 July 2008 23:56:21, Mark Kettenis wrote:
>
> > I think we should get rid of generic_push_dummy_code(), and instead
> > require that each target that puts the dummy breakpoint on the stack
> > provides its own push_dummy_code() function. Could you provide one
> > for DICOS?
>
> Something like this?
Looks good to me.
> It looks like the only other target that uses ON_STACK and doesn't
> define a push_dummy_code is spu-tdep.c.
Let's see if I can convince the IBM guys to do something similar, and
then we can remove the somewhat bogus generic_push_dummy_code().
Thanks,
Mark