From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18711 invoked by alias); 23 Jul 2004 19:04:03 -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 18573 invoked from network); 23 Jul 2004 19:04:01 -0000 Received: from unknown (HELO zmaex.zma.zoran.com) (206.67.17.2) by sourceware.org with SMTP; 23 Jul 2004 19:04:01 -0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Gdb-discuss] Dwarf error for arm7 Date: Fri, 23 Jul 2004 19:31:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Lan Zhang" To: , X-SW-Source: 2004-07/txt/msg00303.txt.bz2 Daniel: I check out the branch you mention, and thanks god, it works for most part. But there are weird thing, I cannot set breakpoint in some source file, GDB will complain " No source file named *** " and suggest to make a pending breakpoint on future shared library. And also there are some files; I can only setup one breakpoint, even at same place, after setup first breakpoint in such file, when I try to setup second, GDB said" No line *** in file *** ". But it works ok in some other files, I can setup as much as I want breakpoints. And I didn't found and strange things in these three kind of files.=20 I think it may be some miscommunication between armcc and GDB, they are not compatible. Doi you have any idea? And I also want to ask people who built drow_intercu-20040221-branch branch, but I don't know how.=20 Thanks a lot.=20 Regards, Lan=20 =20=20=20=20 -----Original Message----- From: Daniel Jacobowitz [mailto:drow@false.org]=20 Sent: Monday, June 21, 2004 10:12 AM To: Lan Zhang Cc: gdb-discuss@gnu.org; gdb@sources.redhat.com Subject: Re: [Gdb-discuss] Dwarf error for arm7 On Mon, Jun 21, 2004 at 10:09:44AM -0400, Lan Zhang wrote: > Hi all: >=20 >=20=20 >=20 > 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 =3D arm-elf.=20 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. --=20 Daniel Jacobowitz