From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1472 invoked by alias); 24 Oct 2007 11:55:51 -0000 Received: (qmail 1459 invoked by uid 22791); 24 Oct 2007 11:55:50 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 24 Oct 2007 11:55:48 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 4E5B79833F; Wed, 24 Oct 2007 11:55:47 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 36450981F2; Wed, 24 Oct 2007 11:55:47 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1Ikepu-000563-8J; Wed, 24 Oct 2007 07:55:46 -0400 Date: Wed, 24 Oct 2007 11:55:00 -0000 From: Daniel Jacobowitz To: Bin Chen Cc: gdb@sourceware.org Subject: Re: backtrace gdb symbol error Message-ID: <20071024115546.GC19251@caradoc.them.org> Mail-Followup-To: Bin Chen , gdb@sourceware.org References: <1193214024.26727.4.camel@binch-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1193214024.26727.4.camel@binch-desktop> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00194.txt.bz2 On Wed, Oct 24, 2007 at 04:20:24PM +0800, Bin Chen wrote: > Hi, > > I enounter a strange problem when i use gdb to do backtrace, I want to > know if it is an old problem and has been fixed in newer gdb... > > I am doing debug from host to a target gdbserver, the frame #3's mapping > is error, because the memory map from board shows 0x00046fd0 is not in > the range of libstdc++.so.5, but the elf itself. And the address > 0x41217918 in frame #13 is in the libstdc++.so.5 but the gdb can't > recognize it. So I think the mapping is a bit disorder(but others are > correct!!), can I print the mapping table in the gdb side(which is > retrieved from gdbserver I think) to see if my guess is right? Yes, "info shared". -- Daniel Jacobowitz CodeSourcery