Opened 10 years ago

Closed 10 years ago

#9398 closed bug (fixed)

Debugger fails to parse C++11 compiled program

Reported by: pulkomandy Owned by: anevilyak
Priority: normal Milestone: R1
Component: Applications/Debugger Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


This is a reduced (but not minimal) test case.

cd software
rm *.o
Debugger ./CrO2

Debugger does not manage to show the source file nor the variables. Removing --std=c++0x from the makefile (and recompiling) gets things working as expected.

The actual use of C++11 features in the sourcecode seems unrelated to the problem.

Change History (3)

comment:1 by anevilyak, 10 years ago

Version: R1/alpha4.1R1/Development

Seems that in this instance gcc's generating some tags for GNU extensions to DWARF that aren't yet part of the standard, specifically:

 * DW_TAG_GNU_template_parameter_pack: 0x4107
 * DW_TAG_GNU_formal_parameter_pack: 0x4108

The proposed extensions are referenced at

Will need to look into this a bit to see how to handle those.

comment:2 by anevilyak, 10 years ago

Status: newin-progress

comment:3 by anevilyak, 10 years ago

Resolution: fixed
Status: in-progressclosed

Implemented in hrev45189.

Note: See TracTickets for help on using tickets.