[gdb/symtab] Warn about unresolved DW_AT_upper_bound/DW_AT_count
authorTom de Vries <tdevries@suse.de>
Wed, 18 Jul 2018 16:33:07 +0000 (18:33 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 25 Jul 2018 22:08:52 +0000 (00:08 +0200)
commit506f5c41cab71dbc3e562ba367d2dc6b355b64a6
treeafac2c997fbf4e93388029a4386a1f7991261ce5
parent16f808ec99b141bf03091d3b309a335c68d4e9e0
[gdb/symtab] Warn about unresolved DW_AT_upper_bound/DW_AT_count

This patch generates a warning if DW_AT_upper_bound or DW_AT_count is defined,
but can't be translated.  This is triggered for current gcc in lto mode for
vla test-cases.

Build and reg-tested on x86_64-linux.

2018-07-26  Tom de Vries  <tdevries@suse.de>

* dwarf2read.c (read_subrange_type): Warn if DW_AT_upper_bound or
DW_AT_count can't be translated to a dynamic prop.
gdb/ChangeLog
gdb/dwarf2read.c
This page took 0.024757 seconds and 4 git commands to generate.