From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29905 invoked by alias); 21 Jun 2004 14:12:26 -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 29889 invoked from network); 21 Jun 2004 14:12:24 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 21 Jun 2004 14:12:24 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BcPX2-0007lw-V4; Mon, 21 Jun 2004 10:12:21 -0400 Date: Mon, 21 Jun 2004 14:12:00 -0000 From: Daniel Jacobowitz To: Lan Zhang Cc: gdb-discuss@gnu.org, gdb@sources.redhat.com Subject: Re: [Gdb-discuss] Dwarf error for arm7 Message-ID: <20040621141220.GA29822@nevyn.them.org> Reply-To: gdb@sources.redhat.com Mail-Followup-To: Lan Zhang , gdb-discuss@gnu.org, gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-06/txt/msg00208.txt.bz2 On Mon, Jun 21, 2004 at 10:09:44AM -0400, Lan Zhang wrote: > Hi all: > > > > I try to debug an elf format file generated by ADS 1.2 compiler. GDB can This is not the correct list; try gdb@sources.redhat.com. > load the symbol table and read some registers, but it looks GDB didn't > like it, especially the pc. The error message is: Dwarf Error Cannot > fine referent at offsets 31778. I am newer of the GDB, so I don't know > is that the problem from the compiler or from GDB. I used the latest > version, GDB 6.1, and compile it as target = arm-elf. This problem means that yur compiler uses inter-compilation-unit references. CVS GDB still does not support this. Try checking out the drow_intercu-20040221-branch branch from CVS. -- Daniel Jacobowitz