This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Support for multiple calling conventions
On Apr 11 08:19, Daniel Jacobowitz wrote:
> On Fri, Apr 11, 2008 at 12:52:31PM +0200, Corinna Vinschen wrote:
> > - The return_value functions get the function type as argument,
> > not the value type. They have to retrieve the value type from
> > the function type themselves.
> >
> > - The return_value functions get an addition function type argument.
> >
> > - The return_value functions get an addition `unsigned calling_convention'
> > argument.
>
> IMO adding the function type is best. It's more extensible than
> adding a calling convention argument which most platforms won't need,
> and it changes the signature so that no one will get confused which
> type is passed.
Thanks. I'll implement it this way next week. It's just a pity that
so much code has to be touched for such a rather tiny addition...
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat