Re: [PATCH] Handle DW_TAG_subrange_type

Elena Zannoni
2003-12-04T16:51:48Z

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