This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [m68k] fix return value extraction
- From: Andreas Schwab <schwab at suse dot de>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 05 Jun 2006 18:51:21 +0200
- Subject: Re: [m68k] fix return value extraction
- References: <44844CBA.6030600@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com> writes:
> *) GCC never sets %a0 to point to a returned structure. Neither does it
> return pointer values in %a0.
On m68k-linux, which uses the SVR4 ABI (or a close variant thereof) it
does return pointer values in %a0.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."