From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29776 invoked by alias); 2 Dec 2003 04:30:46 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 29728 invoked from network); 2 Dec 2003 04:30:45 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 2 Dec 2003 04:30:45 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1AR2BO-0003HC-TU; Mon, 01 Dec 2003 23:30:42 -0500 Date: Tue, 02 Dec 2003 04:30:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] OSF/1 - "next" over prologueless function call Message-ID: <20031202043042.GA12528@nevyn.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sources.redhat.com References: <20031202042646.GW1186@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031202042646.GW1186@gnat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-12/txt/msg00038.txt.bz2 On Mon, Dec 01, 2003 at 08:26:46PM -0800, Joel Brobecker wrote: > > So I suggest we refine this test to use a new gdbarch function which, > by default, would be the exact equivalent of this equality check. But > I then provide an OSF/1-specific version of this function that checks > that we stopped either at the first instruction of the function, or > right after the couple of instructions forming the ldgp macro. About the general principle, I'm unsure - I'd like to think a little more or have someone else's opinion. But about the OSF/1 specific target hook: no, this should be an Alpha-specific target hook instead. The GNU tools perform this same optimization (and may do something similar on MIPS soon). -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer