[PATCH] Accept DWARF 3-format debug info
Julian Brown
julian@codesourcery.com
Thu Jun 8 22:48:00 GMT 2006
Hi,
This is part of a series of patches from a CodeSourcery branch which
enable the output of ARM's RVCT 2.2 compiler to be debugged with gdb.
ARMCC's support for DWARF 3 is superior to its DWARF 2 support, and GDB
apparently supports much of DWARF 3 already. This patch allows DWARF 3
format debug info to be accepted by gdb.
(Some things are notably missing from the DWARF 3 support -- one thing
I've noticed so far is lack of support for DW_TAG_partial_unit, but RVDS
2.2 doesn't seem to need that. A couple of other minor things will be
addressed in followup patches.)
Tested with cross to arm-none-eabi, and natively on
x86_64-unknown-linux-gnu. OK to apply on mainline?
Cheers,
Julian
ChangeLog (Daniel Jacobowitz):
* gdb/dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-dwarf3.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20060608/9e4eccaa/attachment.bin>
More information about the Gdb-patches
mailing list