This is the mail archive of the gdb-patches@sources.redhat.com 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: [PATCH] Handle DW_TAG_subrange_type


Andreas Schwab writes:
 > When trying to debug Ada code you often get a DW_TAG_subrange_type, which
 > gdb can't handle yet.
 > 
 > Andreas.
 > 
 > 2003-11-22  Andreas Schwab  <schwab@suse.de>
 > 
 > 	* dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
 > 	New function.
 > 	(read_subrange_type): New function.
 > 	(process_die): Handle DW_TAG_subrange_type.
 > 	(read_type_die): Likewise.
 > 


OK. Reading the Dwarf2 spec, there is a lot more that could be
apearing in the debug info for a subrange type, I guess we'll improve
on this as we encounter other unhandled cases.

Can you post an example of the debug info you see for Ada in this
case, just for the record?

elena


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