[m68k] return values

Nathan Sidwell nathan@codesourcery.com
Mon Jun 19 14:39:00 GMT 2006


Mark Kettenis wrote:

> OK, I see your problem now.  The uCLinux ABI is quite different from
> the normal Linux ABI, and different from the "standard" embedded ABI
> too.  If I read the GCC code correctly, on uCLinux you end up with:

I fear I have confused things with the configure.tgt fragment.  The main bulk of 
the patch was to make function return work for m68k-elf, which returns pointers 
in %d0. As that's an embedded target, it has no OS and so no OS sniffer.  As I 
understood gdb's internals, we should default to that ABI and use OS sniffers to 
set things up for OS ABIs that are different.

Is the patch ok without the configure.tgt fragment.  I can deal with uclinux 
separately.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gdb-patches mailing list