From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8585 invoked by alias); 7 Jan 2004 09:54:24 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 8207 invoked from network); 7 Jan 2004 09:54:21 -0000 Received: from unknown (HELO amalthea.dnx.de) (193.108.181.146) by sources.redhat.com with SMTP; 7 Jan 2004 09:54:21 -0000 Received: from metis.pengutronix.de ([213.252.143.165]:38156) by amalthea.dnx.de with asmtp (Exim 4.24) id 1AeAOH-0000Bh-8e for gdb@sources.redhat.com; Wed, 07 Jan 2004 10:54:17 +0100 Received: from ganymed.pengutronix.de ([213.252.143.162] ident=mail) by metis.pengutronix.de with esmtp (Exim 3.35 #1 (Debian)) id 1AeAOK-0001TE-00 for ; Wed, 07 Jan 2004 10:54:20 +0100 Received: from robert by ganymed.pengutronix.de with local (Exim 3.36 #1 (Debian)) id 1AeAOK-00007P-00 for ; Wed, 07 Jan 2004 10:54:20 +0100 Date: Wed, 07 Jan 2004 09:54:00 -0000 From: Robert Schwebel To: gdb@sources.redhat.com Subject: Re: Remote debug on ppc405 Message-ID: <20040107095420.GQ18025@pengutronix.de> References: <20040106135048.GJ18025@pengutronix.de> <20040106215904.GA8401@nevyn.them.org> <20040107082958.GO18025@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040107082958.GO18025@pengutronix.de> User-Agent: Mutt/1.5.4i X-Spam-Score: -5.0 (-----) X-SW-Source: 2004-01/txt/msg00067.txt.bz2 On Wed, Jan 07, 2004 at 09:29:59AM +0100, Robert Schwebel wrote: > Hmm, it's the default powerpc stub from vanilla-gdb-6.0. Is my > interpretation of the readelf output correct that I should assume a > 0x1000something value? In the meantime I found out that when linking the file-under-test statically it works, so it seems to have to do something with dynamic loading. I found this post: http://sources.redhat.com/ml/gdb/2002-07/msg00155.html on the gdb list, but setting solib-search-path alone does not seem to help. It looks to me that starting from 0x3000'0000 the shared libraries are mapped in, which looks perfectly fine. But why on earth does gdb try to insert the breakpoint there? Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hornemannstraße 12, 31137 Hildesheim, Germany Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4