Opened 12 years ago
Closed 12 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 |
Description
This is a reduced (but not minimal) test case.
wget http://pulkomandy.tk/drop/cro2_haiku_cpp98.zip unzip cro2_haiku_cpp98.zip cd software rm *.o make 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 , 12 years ago
Version: | R1/alpha4.1 → R1/Development |
---|
comment:2 by , 12 years ago
Status: | new → in-progress |
---|
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Implemented in hrev45189.
Note:
See TracTickets
for help on using tickets.
Seems that in this instance gcc's generating some tags for GNU extensions to DWARF that aren't yet part of the standard, specifically:
The proposed extensions are referenced at http://wiki.dwarfstd.org/index.php?title=C%2B%2B0x:_Variadic_templates
Will need to look into this a bit to see how to handle those.