Thread overview
gdb and .debug_frame section
May 02, 2006
Walter Bright
May 02, 2006
Marcus R. Brown
May 02, 2006
Walter Bright
May 02, 2006
John Demme
May 05, 2006
Walter Bright
May 02, 2006
Anyone know anything about the gdb internals with respect to .debug_frame?
May 02, 2006
DWARF home: http://dwarf.freestandards.org/Home.php
DWARF2 spec: ftp://ftp.freestandards.org/pub/dwarf/dwarf-2.0.0.pdf

Walter Bright <newshound@digitalmars.com> wrote:
> Anyone know anything about the gdb internals with respect to .debug_frame?


May 02, 2006
Marcus R. Brown wrote:
> DWARF home: http://dwarf.freestandards.org/Home.php
> DWARF2 spec: ftp://ftp.freestandards.org/pub/dwarf/dwarf-2.0.0.pdf
> 
> Walter Bright <newshound@digitalmars.com> wrote:
>> Anyone know anything about the gdb internals with respect to .debug_frame? 

I have the specs - the trouble is, gdb appears to show a correct backtrace regardless of whether the .debug_frame section is emitted or not. So what does gdb need it for?
May 02, 2006
Walter Bright wrote:

> Marcus R. Brown wrote:
>> DWARF home: http://dwarf.freestandards.org/Home.php
>> DWARF2 spec: ftp://ftp.freestandards.org/pub/dwarf/dwarf-2.0.0.pdf
>> 
>> Walter Bright <newshound@digitalmars.com> wrote:
>>> Anyone know anything about the gdb internals with respect to .debug_frame?
> 
> I have the specs - the trouble is, gdb appears to show a correct backtrace regardless of whether the .debug_frame section is emitted or not. So what does gdb need it for?

When I was working on the GDB patch, I was on the a GDB mailing list.  I found the list to be very friendly and helpful.  I would recommend asking there if you're working on some DWARF output!

If you do join one of the lists, let me know and I'll hop on as well, since I'd like to further the D patch for GDB to support anything D needs it to.

~John Demme (me@teqdruid.com)
May 05, 2006
John Demme wrote:
> Walter Bright wrote:
> 
>> Marcus R. Brown wrote:
>>> DWARF home: http://dwarf.freestandards.org/Home.php
>>> DWARF2 spec: ftp://ftp.freestandards.org/pub/dwarf/dwarf-2.0.0.pdf
>>>
>>> Walter Bright <newshound@digitalmars.com> wrote:
>>>> Anyone know anything about the gdb internals with respect to
>>>> .debug_frame?
>> I have the specs - the trouble is, gdb appears to show a correct
>> backtrace regardless of whether the .debug_frame section is emitted or
>> not. So what does gdb need it for?
> 
> When I was working on the GDB patch, I was on the a GDB mailing list.  I
> found the list to be very friendly and helpful.  I would recommend asking
> there if you're working on some DWARF output!
> 
> If you do join one of the lists, let me know and I'll hop on as well, since
> I'd like to further the D patch for GDB to support anything D needs it to.

I'll check out the mailing list. Thanks!