From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18700 invoked by alias); 19 Jun 2006 14:39:46 -0000 Received: (qmail 18690 invoked by uid 22791); 19 Jun 2006 14:39:44 -0000 X-Spam-Check-By: sourceware.org Received: from potter.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Jun 2006 14:39:43 +0000 Received: (qmail 31302 invoked from network); 19 Jun 2006 14:39:40 -0000 Received: from unknown (HELO ?192.168.189.145?) (nathan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 19 Jun 2006 14:39:40 -0000 Message-ID: <4496B738.1050500@codesourcery.com> Date: Mon, 19 Jun 2006 14:39:00 -0000 From: Nathan Sidwell User-Agent: Thunderbird 1.5.0.4 (X11/20060615) MIME-Version: 1.0 To: Mark Kettenis CC: gdb-patches@sourceware.org, schwab@suse.de Subject: Re: [m68k] return values References: <44897213.3070309@codesourcery.com> <200606180550.k5I5o0ni009268@elgar.sibelius.xs4all.nl> In-Reply-To: <200606180550.k5I5o0ni009268@elgar.sibelius.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00270.txt.bz2 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