Bug 22002 - Assertion on debuggee built with -gdwarf-5 -fdebug-types-section
Summary: Assertion on debuggee built with -gdwarf-5 -fdebug-types-section
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: symtab (show other bugs)
Version: 8.0
: P2 normal
Target Milestone: 8.0.1
Assignee: Jan Kratochvil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-24 14:29 IST by Jan Kratochvil
Modified: 2017-08-24 14:30 IST (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kratochvil 2017-08-24 14:29:27 IST
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 IST
Checked in:
        f1902523c9b7941775a2c64af89de0f111b8924c master
        06f84c95a2d88d03c1c231bfd436ac9d225d6615 gdb-8.0-branch