From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22713 invoked by alias); 4 Dec 2013 12:15:43 -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 22704 invoked by uid 89); 4 Dec 2013 12:15:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_40,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Dec 2013 12:15:39 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rB4CFUff000479 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 4 Dec 2013 07:15:30 -0500 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rB4CFSKa031967; Wed, 4 Dec 2013 07:15:29 -0500 Message-ID: <529F1CE0.2060000@redhat.com> Date: Wed, 04 Dec 2013 12:15:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: "Jose E. Marchesi" CC: gdb-patches@sourceware.org Subject: Re: [PATCH] add gdbarch_in_function_epilogue_p hook for sparc64 References: <87mwm9b8pr.fsf@oracle.com> <529E2ADD.6020409@redhat.com> <8738m9j5de.fsf@oracle.com> In-Reply-To: <8738m9j5de.fsf@oracle.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-12/txt/msg00123.txt.bz2 On 12/04/2013 10:08 AM, Jose E. Marchesi wrote: > > 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. "transfers". I don't know enough sparc64 to be able to say anything intelligent about the substance of the patch itself. -- Pedro Alves