List Info

Thread: Re: Enable Support for Dwarf 1, with Gnu Extension




Re: Enable Support for Dwarf 1, with Gnu Extension
country flaguser name
Finland
2008-06-10 08:37:27
Hi,

Many thanks!
I've just compiled gdb 6.6, with insight, and see symbol but
some time got:
ptype a
<incomplete type>
or gdb seem to have difficult in determine next address (so
put breakpoint in wrong place so program many time go
running...)

Have you ever heard about a fix on this?
Some link to have info?
(ok: is much simpler work with dwarf2, but seem we have pb
with C++ binding of newer version of diab)
Have a good day


--- Mar 10/6/08, Daniel Jacobowitz <drowfalse.org> ha scritto:

> Da: Daniel Jacobowitz <drowfalse.org>
> Oggetto: Re: Enable Support for Dwarf 1, with Gnu
Extension
> A: "Salvatore Lionetti"
<salvatorelionettiyahoo.it>
> Cc: gdbsourceware.org
> Data: Martedì 10 giugno 2008, 14:35
> On Tue, Jun 10, 2008 at 09:12:44AM +0000, Salvatore
Lionetti
> wrote:
> > It seem that gdb only know (function name
<->
> address), nothing
> > about C src line mapping, data structure ...
> 
> Sorry, support for DWARF 1 has been removed.  GDB 6.6
was
> the last
> release to support DWARF 1.
> 
> -- 
> Daniel Jacobowitz
> CodeSourcery


      ___________________________________ 
Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli...
e la tua opinione!
http://www.ymailblog
it.com/blog/

Re: Enable Support for Dwarf 1, with Gnu Extension
country flaguser name
United States
2008-06-10 08:44:56
On Tue, Jun 10, 2008 at 01:37:27PM +0000, Salvatore Lionetti
wrote:
> Hi,
> 
> Many thanks!
> I've just compiled gdb 6.6, with insight, and see
symbol but some time got:
> ptype a
> <incomplete type>
> or gdb seem to have difficult in determine next address
(so put breakpoint in wrong place so program many time go
running...)

Sorry, I don't know.  These are probably specific problems
between GDB
and the debug info generated by Diab.


-- 
Daniel Jacobowitz
CodeSourcery

Re: Enable Support for Dwarf 1, with Gnu Extension
country flaguser name
United States
2008-06-10 12:59:42
On Tue, 2008-06-10 at 13:37 +0000, Salvatore Lionetti
wrote:
> Hi,
> 
> Many thanks!
> I've just compiled gdb 6.6, with insight, and see
symbol but some time got:
> ptype a
> <incomplete type>
> or gdb seem to have difficult in determine next address
(so put breakpoint in wrong place so program many time go
running...)
> 
> Have you ever heard about a fix on this?
> Some link to have info?

Only guessing, but you might try "gdb --readnow"
to force all 
the debugging info to be scanned at the start.  Might at
least
resolve the incomplete types.


> (ok: is much simpler work with dwarf2, but seem we have
pb with C++ binding of newer version of diab)

That's unfortunate, since dwarf1 is quite old and
unsupported.




[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )