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: [m68k] return values


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


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