This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Linux-specific ppc32 ABI
- From: Luis Machado <luisgpm at linux dot vnet dot ibm dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 11 Jan 2008 13:55:20 -0200
- Subject: Re: [RFC] Linux-specific ppc32 ABI
- References: <1199991624.3343.19.camel@gargoyle> <20080111060629.GC12954@adacore.com>
- Reply-to: luisgpm at linux dot vnet dot ibm dot com
> Assuming a difference in ABI does exist:
Yes, there are a few differences between what the SYSTEM V ABI says and
what Linux actually does. But most of the Linux specs follow the SYSTEM
V ABI.
> 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.
Regards,
--
Luis Machado
Software Engineer
IBM Linux Technology Center