This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
info about reading dwarf2 set types
- From: Gaius Mulley <gaius at glam dot ac dot uk>
- To: gdb-patches at sources dot redhat dot com
- Cc: hebisch at math dot uni dot wroc dot pl
- Date: Tue, 18 Oct 2005 15:33:54 +0100
- Subject: info about reading dwarf2 set types
Hi,
last May, Waldek Hebisch, posted a patch to allow gdb to read set
types when the debugging information was held in dwarf2 format. I see
that the patch was not applied to the current CVS or the gdb-6.3
branch, and I was wondering why this was the case?
I'm working on GNU Modula-2 and have bumped into the same problem as
the GNU Pascal folks have seen (namely if gm2 produces debugging
output in dwarf2 then gdb falls over when reading set types, whereas
if I use -gstabs+ then set types work fine). I'm particularly
interested in knowing why the patch was not applied as one reason
might be that the patch was wrong (and gdb is correct - thus this
would indicate that the "bug" is in the gcc/gm2 frontend).
I'm also working on enhancing the gdb modula-2 language mode (I've
completed long set support - printing set data and ptype - which
hopefully can be included in the future).
regards,
Gaius