This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Linux-specific ppc32 ABI


On Sat, 2008-01-26 at 16:35 +0100, Mark Kettenis wrote:
> > It would be nice if someone could test this patch in other systems which
> > use the SysV ppc32 ABI, to see if they actually implement what is in the
> > ABI specification or if they also do what Linux actually does. If the
> > former, this patch could go in. If the latter, we could use the
> > suggested flag in gdbarch_tdep to restrict this fix only to Linux.
> 
> It seems OpenBSD/powerpc is similar to Linux here.  Without the patch I get
> 
> FAIL: gdb.base/callfuncs.exp: Call function with many float arguments.
> 
> which turns into a PASS if a apply the patch.  The patch itself isn't
> quite right though.

Thanks for testing.

> How about the attached diff?

Fine by me, just one small issue:

> +		     that, and stores floats without into 4 bytes
> +		     aligned locations without converting them to

The first "without" above shouldn't be there.
-- 
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]