This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pascal/1477: gdb can not read DWARF-2 debug info about set types


The following reply was made to PR pascal/1477; it has been noted by GNATS.

From: Jonas Maebe <jonas.maebe@elis.ugent.be>
To: gdb-gnats@sources.redhat.com, muller@ics.u-strasbg.fr,
	gdb-prs@sources.redhat.com, hebisch@math.uni.wroc.pl
Cc:  
Subject: Re: pascal/1477: gdb can not read DWARF-2 debug info about set types
Date: Thu, 5 Jul 2007 15:10:09 +0200

 http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
 trail&database=gdb&pr=1477
 
 For me, gdb/cvs works fine with the new provided test program if I  
 compile it with a patched version of FPC.
 
 The reason that FPC currently does not generate DW_TAG_set_type debug  
 info is that gdb without support for DW_TAG_set_type completely  
 refuses to debug programs containing them:
 
 (gdb) b PASCALMAIN
 Die: DW_TAG_set_type (abbrev = 7, offset = 125)
          has children: FALSE
          attributes:
                  DW_AT_byte_size (DW_FORM_data2) constant: 32
                  DW_AT_type (DW_FORM_ref_addr) address: 0x89
 Dwarf Error: Cannot find type of die [in module /user/jmaebe/lnxhome/ 
 fpc/test/debug/tset]
 
 
 Maybe in general it would be nice if gdb ignored unsupported types  
 rather than refuse to even set breakpoints.
 
 
 Jonas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]