[PATCH] Handle DW_TAG_subrange_type
Thu Dec 4 16:51:00 GMT 2003
Andreas Schwab writes:
> When trying to debug Ada code you often get a DW_TAG_subrange_type, which
> gdb can't handle yet.
> 2003-11-22 Andreas Schwab <email@example.com>
> * 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?
More information about the Gdb-patches