Bug 19308 - Demangle C++ Transactional Memory TS (N4514) symbols
Summary: Demangle C++ Transactional Memory TS (N4514) symbols
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: c++ (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-30 12:15 UTC by Pedro Alves
Modified: 2015-11-30 12:27 UTC (History)
0 users

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 Pedro Alves 2015-11-30 12:15:18 UTC
GCC just gained support for the C++ Extensions for Transactional Memory TS (N4514 [1]), but GDB doesn't know how to demangle the generated symbols.

E.g.,:

 (gdb) demangle -l c++ _Z1fPDxFvvES0_
 Can't demangle "_Z1fPDxFvvES0_"
 (gdb) 

Should be:

 (gdb) demangle -l c++ _Z1fPDxFvvES0_
 f(void (*)() transaction_safe, void (*)() transaction_safe)
 (gdb) 

[1] - http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4514.pdf
Comment 1 Pedro Alves 2015-11-30 12:27:59 UTC
Fixed, master and 7.10 branch (for 7.10.1).