Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Lan Zhang" <Lan.Zhang@Zoran.com>
To: <gdb@sources.redhat.com>, <drow@false.org>
Subject: RE: [Gdb-discuss] Dwarf error for arm7
Date: Fri, 23 Jul 2004 19:31:00 -0000	[thread overview]
Message-ID: <E65CD2CAB74C80498703D6EF7624BB4C01E63B61@zmaex.zma.zoran.com> (raw)

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


             reply	other threads:[~2004-07-23 19:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23 19:31 Lan Zhang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-06-21 21:42 Lan Zhang
2004-06-21 21:45 ` Daniel Jacobowitz
     [not found] <E65CD2CAB74C80498703D6EF7624BB4C4ACB5D@zmaex.zma.zoran.com>
2004-06-21 14:12 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E65CD2CAB74C80498703D6EF7624BB4C01E63B61@zmaex.zma.zoran.com \
    --to=lan.zhang@zoran.com \
    --cc=drow@false.org \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox