Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Enable Support for Dwarf 1, with Gnu Extension
@ 2008-06-10  9:13 Salvatore Lionetti
  2008-06-10 12:36 ` Daniel Jacobowitz
  0 siblings, 1 reply; 6+ messages in thread
From: Salvatore Lionetti @ 2008-06-10  9:13 UTC (permalink / raw)
  To: gdb

Hi to all,

i xcompiled gdb 6.8 (also tryed 6.7.1) for arch 'powerpc-eabi' new 6.8 version, but have no symbol facility.
This is gdb output:

This GDB was configured as "--host=i686-pc-cygwin --target=powerpc-elf"...
(no debugging symbols found)
(gdb)

It seem that gdb only know (function name <-> address), nothing about C src line mapping, data structure ...

Section in elf:
 17 .debug        087e2166  00000000  00000000  00c0240e  2**0
 18 .line         003a8ca0  00000000  00000000  093e4574  2**0
 19 .debug_srcinfo 00124268  00000000  00000000  0978d214  2**0
 16 .debug_sfnames 000310aa  00000000  00000000  00bd1364  2**0

(seem dwarf 1 with gnu extension)
and compiler is diab
Can anyone give me any hint to handle symbol?
Is there other method to pass symbol to gdb ,es .map, nm ?
Thank you for your attention.

Salvatore

--- Lun 9/6/08, gdb-digest-help@sourceware.org <gdb-digest-help@sourceware.org> ha scritto:
Da: gdb-digest-help@sourceware.org <gdb-digest-help@sourceware.org>
Oggetto: WELCOME to gdb-digest@sourceware.org
A: salvatorelionetti@yahoo.it
Data: Lunedì 9 giugno 2008, 14:56

Hi! This is the ezmlm program. I'm managing the
gdb-digest@sourceware.org mailing list.

Acknowledgment: I have added the address

   salvatorelionetti@yahoo.it

to the gdb-digest mailing list.

Welcome to gdb-digest@sourceware.org!

Please save this message so that you know the address you
 are
subscribed under, in case you later want to unsubscribe or change your
subscription address.


--- Administrative commands for the gdb-digest list ---

I can handle administrative requests automatically. Please
DO NOT SEND THEM TO THE LIST ADDRESS! If you do, I will not
see them and other subscribers will be annoyed. Instead, send
your message to the correct command address:


To subscribe to the list, send a message to:
   <gdb-subscribe@sourceware.org>

To remove your address from the list, send a message to:
   <gdb-unsubscribe@sourceware.org>

Send mail to the following for info and FAQ for this list:
   <gdb-info@sourceware.org>
   <gdb-faq@sourceware.org>

Similar addresses exist for the digest list:
   <gdb-digest-subscribe@sourceware.org>
   <gdb-digest-unsubscribe@sourceware.org>

To get messages 123 through 145 (a maximum of
 100 per request), mail:
   <gdb-get.123_145@sourceware.org>

To get an index with subject and author for messages 123-456 , mail:
   <gdb-index.123_456@sourceware.org>

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   <gdb-thread.12345@sourceware.org>

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example "john@host.domain", just add a hyphen and your
address (with '=' instead of '@') after the command word:
<gdb-subscribe-john=host.domain@sourceware.org>

To stop subscription for this address, mail:
<gdb-unsubscribe-john=host.domain@sourceware.org>

In both cases, I'll send a
 confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
gdb-owner@sourceware.org. Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: <salvatorelionetti@yahoo.it>
Received: (qmail 17227 invoked by uid 22791); 9 Jun 2008 12:56:32 -0000
X-Spam-Status: No, hits=-2.6 required=5.0
	tests=BAYES_00,HTML_MESSAGE
X-Spam-Check-By: sourceware.org
Received: from web27204.mail.ukl.yahoo.com (HELO web27204.mail.ukl.yahoo.com)
(217.146.182.94)
    by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 09 Jun 2008 12:55:52 +0000
Received: (qmail 93303 invoked by uid 60001); 9 Jun 2008 12:55:49 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.it;

 
h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID;
 
b=B2gFsgmkFqNpADy1RNhcI32TVIT+E+C5zMoX8Y3vAZPfqQRLIMsdAo0xzjLOLAqeFNS1IdYLzHSUxOHG8uxj/qgBqdobKITq1ccQwbpxKYvKHiiVsHbGDbrwBdR+4nXGAvMJiHsPqgHO+UTP8iRgPhgeGhLx1D3fuk7mQa3lfM4=;
Received: from [192.100.124.195] by web27204.mail.ukl.yahoo.com via HTTP; Mon,
09 Jun 2008 12:55:49 GMT
X-Mailer: YahooMailWebService/0.7.199
Date: Mon, 9 Jun 2008 12:55:49 +0000 (GMT)
From: Salvatore Lionetti <salvatorelionetti@yahoo.it>
Reply-To: salvatorelionetti@yahoo.it
Subject: R: confirm subscribe to gdb-digest@sourceware.org
To:
gdb-digest-sc.1213016087.idigdcjkaecbmhgkmkpf-salvatorelionetti=yahoo.it@sourceware.org
In-Reply-To: <1213016087.16642.ezmlm@sourceware.org>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="0-253662619-1213016149=:92931"
Message-ID:
 <102414.92931.qm@web27204.mail.ukl.yahoo.com>
X-Virus-Checked: Checked by ClamAV on sourceware.org

--0-253662619-1213016149=:92931
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable



--- Lun 9/6/08, gdb-digest-help@sourceware.org
&lt;gdb-digest-help@sourcewa=
re.org&gt; ha scritto:
Da: gdb-digest-help@sourceware.org
&lt;gdb-digest-help@sourceware.org&gt;
Oggetto: confirm subscribe to gdb-digest@sourceware.org
A: salvatorelionetti@yahoo.it
Data: Luned=C3=AC 9 giugno 2008, 14:54

Hi! This is the ezmlm program. I'm managing the
gdb-digest@sourceware.org mailing list.

To confirm that you would like

   salvatorelionetti@yahoo.it

added to the gdb-digest mailing list, please send
an empty reply to this address:


 =20
gdb-digest-sc.1213016087.idigdcjkaecbmhgkmkpf-salvatorelionetti=3Dyahoo.it@=
sourceware.org

Usually, this happens when you just hit the "reply" button.
If this does not work, simply copy the address and paste it into
the "To:" field of a new message.

This confirmation serves two purposes. First, it verifies that I am able
to get mail through to you. Second, it protects you in case someone
forges a subscription request in your name.

Some mail programs are broken and cannot handle long addresses. If you
cannot reply to this request, instead send a message to
&lt;gdb-request@sourceware.org&gt; and put the
entire address listed above into the "Subject:" line.


--- Administrative commands for the gdb-digest list ---

I can handle administrative requests automatically. Please
DO NOT SEND THEM TO THE LIST ADDRESS! If you do, I will not
see them and other subscribers will be
 annoyed. Instead, send
your message to the correct command address:


To subscribe to the list, send a message to:
   &lt;gdb-subscribe@sourceware.org&gt;

To remove your address from the list, send a message to:
   &lt;gdb-unsubscribe@sourceware.org&gt;

Send mail to the following for info and FAQ for this list:
   &lt;gdb-info@sourceware.org&gt;
   &lt;gdb-faq@sourceware.org&gt;

Similar addresses exist for the digest list:
   &lt;gdb-digest-subscribe@sourceware.org&gt;
   &lt;gdb-digest-unsubscribe@sourceware.org&gt;

To get messages 123 through 145 (a maximum of 100 per request), mail:
   &lt;gdb-get.123_145@sourceware.org&gt;

To get an index with subject and author for messages 123-456 , mail:
   &lt;gdb-index.123_456@sourceware.org&gt;

They are always returned as sets of 100, max 2000 per request,
so you'll
 actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   &lt;gdb-thread.12345@sourceware.org&gt;

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example "john@host.domain", just add a hyphen and your
address (with '=3D' instead of '@') after the command word:
&lt;gdb-subscribe-john=3Dhost.domain@sourceware.org&gt;

To stop subscription for this address, mail:
&lt;gdb-unsubscribe-john=3Dhost.domain@sourceware.org&gt;

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner
 at
gdb-owner@sourceware.org. Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: &lt;anonymous@sourceware.org&gt;
Received: (qmail 16635 invoked by uid 48); 9 Jun 2008 12:54:46 -0000
Date: 9 Jun 2008 12:54:46 -0000
Message-ID: &lt;20080609125446.16633.qmail@sourceware.org&gt;
From: anonymous@sourceware.org
To: gdb-digest-subscribe-salvatorelionetti=3Dyahoo.it@sourceware.org=0A=0A=
=0A      ___________________________________ =0AScopri il Blog di Yahoo! Ma=
il: trucchi, novit=C3=A0, consigli... e la tua opinione!=0Ahttp://www.ymail=
blogit.com/blog/
--0-253662619-1213016149=:92931
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<table cellspacing=3D'0' cellpadding=3D'0'
border=3D'0' background=3D'none'=
 style=3D'font-family:arial;font-size:10pt;color:rgb(51,
 51,
51);background=
-color:rgb(255, 255, 255);width:100%;'><tr><td
valign=3D'top' style=3D'font=
: inherit;'><br><br>--- <b>Lun 9/6/08,
gdb-digest-help@sourceware.org <i>&l=
t;gdb-digest-help@sourceware.org&gt;</i></b> ha
scritto:<br><blockquote sty=
le=3D"border-left: 2px solid rgb(16, 16, 255); margin-left: 5px;
padding-le=
ft: 5px;">Da: gdb-digest-help@sourceware.org
&lt;gdb-digest-help@sourceware=
.org&gt;<br>Oggetto: confirm subscribe to
gdb-digest@sourceware.org<br>A: s=
alvatorelionetti@yahoo.it<br>Data: Luned=C3=AC 9 giugno 2008,
14:54<br><br>=
<pre>Hi! This is the ezmlm program. I'm managing
the<br>gdb-digest@sourcewa=
re.org mailing list.<br><br>To confirm that you would
like<br><br>   salvat=
orelionetti@yahoo.it<br><br>added to
 the gdb-digest mailing list,
please se=
nd<br>an empty reply to this address:<br><br>=20

<br>gdb-digest-sc.1213016087.idigdcjkaecbmhgkmkpf-salvatorelionetti=3Dyaho=
o.it@sourceware.org<br><br>Usually, this happens when you just hit
the "rep=
ly" button.<br>If this does not work, simply copy the address and
paste it =
into<br>the "To:" field of a new
message.<br><br>This confirmation serves t=
wo purposes. First, it verifies that I am able<br>to get mail through to
yo=
u. Second, it protects you in case someone<br>forges a subscription
request=
 in your name.<br><br>Some mail programs are broken and cannot
handle long =
addresses. If you<br>cannot reply to this request, instead send a message
t=
o<br>&lt;gdb-request@sourceware.org&gt; and put
the<br>entire address liste=
d above into
 the "Subject:" line.<br><br><br>---
Administrative commands fo=
r the gdb-digest list ---<br><br>I can handle administrative
requests autom=
atically. Please<br>DO NOT SEND THEM TO THE LIST ADDRESS! If you do, I
will=
 not<br>see them and other subscribers will be annoyed. Instead,
 send<br>your message to the correct command
address:<br><br><br>To subscri=
be to the list, send a message to:<br>  
&lt;gdb-subscribe@sourceware.org&g=
t;<br><br>To remove your address from the list, send a message
to:<br>   &l=
t;gdb-unsubscribe@sourceware.org&gt;<br><br>Send mail to the
following for =
info and FAQ for this list:<br>  
&lt;gdb-info@sourceware.org&gt;<br>   &lt=
;gdb-faq@sourceware.org&gt;<br><br>Similar addresses exist for
the digest
 l=
ist:<br>   &lt;gdb-digest-subscribe@sourceware.org&gt;<br> 
 &lt;gdb-digest=
-unsubscribe@sourceware.org&gt;<br><br>To get messages 123
through 145 (a m=
aximum of 100 per request), mail:<br>  
&lt;gdb-get.123_145@sourceware.org&=
gt;<br><br>To get an index with subject and author for messages
123-456 , m=
ail:<br>  
&lt;gdb-index.123_456@sourceware.org&gt;<br><br>They are
always =
returned as sets of 100, max 2000 per request,<br>so you'll actually
get 10=
0-499.<br><br>To receive all messages with the same subject as
 message 12345,<br>send an empty message to:<br>  
&lt;gdb-thread.12345@sou=
rceware.org&gt;<br><br>The messages do not really need to be
empty, but I w=
ill ignore<br>their content. Only the ADDRESS you send to
 is
important.<br>=
<br>You can start a subscription for an alternate address,<br>for
example "=
john@host.domain", just add a hyphen and your<br>address (with
'=3D' instea=
d of '@') after the command
word:<br>&lt;gdb-subscribe-john=3Dhost.domain@s=
ourceware.org&gt;<br><br>To stop subscription for this address,
mail:<br>&l=
t;gdb-unsubscribe-john=3Dhost.domain@sourceware.org&gt;<br><br>In
both case=
s, I'll send a confirmation message to that address. When<br>you
receive it=
, simply reply to it to complete your subscription.<br><br>If
despite follo=
wing these instructions, you do not get the<br>desired results, please
cont=
act my owner at<br>gdb-owner@sourceware.org. Please be patient, my owner
is=
 a<br>lot slower than I am ;-)<br><br>--- Enclosed is a copy
of
 the
 request I received.<br><br>Return-Path:
&lt;anonymous@sourceware.org&gt;<b=
r>Received: (qmail 16635 invoked by uid 48); 9 Jun 2008 12:54:46
-0000<br>D=
ate: 9 Jun 2008 12:54:46 -0000<br>Message-ID:
&lt;20080609125446.16633.qmai=
l@sourceware.org&gt;<br>From: anonymous@sourceware.org<br>To:
gdb-digest-su=
bscribe-salvatorelionetti=3Dyahoo.it@sourceware.org</pre></blockquote></td>=
</tr></table><br>=0A=0A=0A=0A=0A=0A      <hr
size=3D1><font face=3D"Arial" =
size=3D"2">Scopri il <a
href=3D"http://us.rd.yahoo.com/mail/it/taglines/yah=
oo/ymail/SIG=3D11djrg460/**http%3A%2F%2Fwww.ymailblogit.com%2Fblog%2F">
Blo=
g di Yahoo! Mail</a>: trucchi, novit=C3=A0, consigli... e la tua
opinione!<=
/font>
--0-253662619-1213016149=:92931--






      Scopri il  Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione!


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Enable Support for Dwarf 1, with Gnu Extension
  2008-06-10  9:13 Enable Support for Dwarf 1, with Gnu Extension Salvatore Lionetti
@ 2008-06-10 12:36 ` Daniel Jacobowitz
  2008-06-10 13:38   ` Salvatore Lionetti
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2008-06-10 12:36 UTC (permalink / raw)
  To: Salvatore Lionetti; +Cc: gdb

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Enable Support for Dwarf 1, with Gnu Extension
  2008-06-10 12:36 ` Daniel Jacobowitz
@ 2008-06-10 13:38   ` Salvatore Lionetti
  2008-06-10 13:45     ` Daniel Jacobowitz
  2008-06-10 18:00     ` Michael Snyder
  0 siblings, 2 replies; 6+ messages in thread
From: Salvatore Lionetti @ 2008-06-10 13:38 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

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 <drow@false.org> ha scritto:

> Da: Daniel Jacobowitz <drow@false.org>
> Oggetto: Re: Enable Support for Dwarf 1, with Gnu Extension
> A: "Salvatore Lionetti" <salvatorelionetti@yahoo.it>
> Cc: gdb@sourceware.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.ymailblogit.com/blog/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Enable Support for Dwarf 1, with Gnu Extension
  2008-06-10 13:38   ` Salvatore Lionetti
@ 2008-06-10 13:45     ` Daniel Jacobowitz
  2008-06-10 18:00     ` Michael Snyder
  1 sibling, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2008-06-10 13:45 UTC (permalink / raw)
  To: Salvatore Lionetti; +Cc: gdb

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Enable Support for Dwarf 1, with Gnu Extension
  2008-06-10 13:38   ` Salvatore Lionetti
  2008-06-10 13:45     ` Daniel Jacobowitz
@ 2008-06-10 18:00     ` Michael Snyder
  2008-06-11 10:04       ` Salvatore Lionetti
  1 sibling, 1 reply; 6+ messages in thread
From: Michael Snyder @ 2008-06-10 18:00 UTC (permalink / raw)
  To: salvatorelionetti; +Cc: Daniel Jacobowitz, gdb

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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Enable Support for Dwarf 1, with Gnu Extension
  2008-06-10 18:00     ` Michael Snyder
@ 2008-06-11 10:04       ` Salvatore Lionetti
  0 siblings, 0 replies; 6+ messages in thread
From: Salvatore Lionetti @ 2008-06-11 10:04 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb

Hi,

Many thanks for your attention,
it's not unfortune, is only the blind of working in non pure open source env.
However tryed '--readnow' but same pb (<incomplete type>).

Have a good day
--- Mar 10/6/08, Michael Snyder <msnyder@specifix.com> ha scritto:

> Da: Michael Snyder <msnyder@specifix.com>
> Oggetto: Re: Enable Support for Dwarf 1, with Gnu Extension
> A: salvatorelionetti@yahoo.it
> Cc: "Daniel Jacobowitz" <drow@false.org>, gdb@sourceware.org
> Data: Martedì 10 giugno 2008, 19:59
> 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.


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-06-11 10:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-10  9:13 Enable Support for Dwarf 1, with Gnu Extension Salvatore Lionetti
2008-06-10 12:36 ` Daniel Jacobowitz
2008-06-10 13:38   ` Salvatore Lionetti
2008-06-10 13:45     ` Daniel Jacobowitz
2008-06-10 18:00     ` Michael Snyder
2008-06-11 10:04       ` Salvatore Lionetti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox