On 2/5/21 5:30 PM, Tom Tromey wrote: >>>>>> "Tom" == Tom de Vries writes: > > Tom> Fix this conservatively by bailing out in read_array_type when not being able > Tom> to construct an array type. > > Perhaps it should issue a complaint? > Indeed. I've added one. > It seems to me though that if gcc emits DW_TAG_generic_subrange, then > gdb ought to handle it. True, but that's not the issue I'm trying to handle here. I'm trying to fix the bug that the element type is modified, which could also happen f.i. when an array type without any subrange children is processed. I want to file an enhancement PR for supporting DW_TAG_generic_subrange, which I then can mention in the KFAIL I've also added. WDYT? Thanks, - Tom