Bug 22002

Summary: Assertion on debuggee built with -gdwarf-5 -fdebug-types-section
Product: gdb Reporter: Jan Kratochvil <jan.kratochvil>
Component: symtabAssignee: Jan Kratochvil <jan.kratochvil>
Severity: normal CC: jan.kratochvil
Priority: P2    
Version: 8.0   
Target Milestone: 8.0.1   
Host: Target:
Build: Last reconfirmed:

Description Jan Kratochvil 2017-08-24 14:29:27 UTC
Debuggees compiled with -gdwarf-5 -fdebug-types-section now crash GDB such as:
(gdb) break 60
dwarf2read.c:9516: internal-error: void setup_type_unit_groups(die_info*, dwarf2_cu*): Assertion `per_cu->is_debug_types' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) FAIL: gdb.cp/pr17132.exp: setting breakpoint at 60 (GDB internal error)
Comment 1 Jan Kratochvil 2017-08-24 14:30:58 UTC
Checked in:
        f1902523c9b7941775a2c64af89de0f111b8924c master
        06f84c95a2d88d03c1c231bfd436ac9d225d6615 gdb-8.0-branch