From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15614 invoked by alias); 4 Dec 2013 17:02:57 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 15572 invoked by uid 89); 4 Dec 2013 17:02:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.2 X-HELO: rock.gnat.com Received: from Unknown (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 04 Dec 2013 17:02:56 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 33BDA11662F; Wed, 4 Dec 2013 12:03:26 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gggpuwQYfXLK; Wed, 4 Dec 2013 12:03:26 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id DDBB5116610; Wed, 4 Dec 2013 12:03:23 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id DEE94EA75C; Wed, 4 Dec 2013 21:02:41 +0400 (RET) Date: Wed, 04 Dec 2013 17:02:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: "Jose E. Marchesi" , gdb-patches@sourceware.org Subject: Re: [PATCH] add gdbarch_in_function_epilogue_p hook for sparc64 Message-ID: <20131204170241.GC3175@adacore.com> References: <87mwm9b8pr.fsf@oracle.com> <529E2ADD.6020409@redhat.com> <8738m9j5de.fsf@oracle.com> <529F1CE0.2060000@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <529F1CE0.2060000@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-12/txt/msg00154.txt.bz2 > > On 10/16/2013 03:18 PM, Jose E. Marchesi wrote: > > > Note that despite sparc_in_function_epilogue_p must work on both sparc32 > > > and sparc64 the patch only installs the hook on sparc64 targets. This > > > is because I can't test it in sparc32. > > > > Can't sparc64 run sparc32 binaries? Something like -m32 ? > > > > Yes it can. But right now what I have is a 64bit-only userspace. I > > will hook gdbarch_in_function_epilogue_p on the sparc32 target as soon > > as I can test it properly. > > Ah, OK. > > > + RESTORE is almost always found in the delay slot of a branch > > + instruction that transfer control to the caller, such as JMPL. I have access to sparc32 systems running Solaris, except I am under strict orders to not run the official testsuite on it. But if there is something else I can do, including running AdaCore's testsuite, or doing a specific check by hand, etc, do let me know! -- Joel