www.digitalmars.com         C & C++   DMDScript  

D.gnu - gdb and .debug_frame section

reply Walter Bright <newshound digitalmars.com> writes:
Anyone know anything about the gdb internals with respect to .debug_frame?
May 01 2006
parent reply "Marcus R. Brown" <mrbrown budcat.com> writes:
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
parent reply Walter Bright <newshound digitalmars.com> writes:
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
parent reply John Demme <me teqdruid.com> writes:
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 02 2006
parent Walter Bright <newshound digitalmars.com> writes:
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!
May 04 2006