This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [Gdb-discuss] Dwarf error for arm7


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. 

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. 

Thanks a lot. 

Regards,
Lan 

    

-----Original Message-----
From: Daniel Jacobowitz [mailto:drow@false.org] 
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:
> 
>  
> 
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]