This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Linux-specific ppc32 ABI
On Fri, Jan 11, 2008 at 01:55:20PM -0200, Luis Machado wrote:
> > How about an extra flag inside the gdbarch_tdep structure that
> > you'll be using inside the push dummy call? It would be a shame
> > duplicate this function when most of it is common.
>
> Yes. This would work, but putting linux specific code inside the
> ppc-sysv-tdep.c file doesn't look quite right. But if there isn't a
> better way of doing this, should be OK.
For practical reasons, this is how it is usually done.
--
Daniel Jacobowitz
CodeSourcery