This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/19227] New: Pretty-printer fails on std::map if compiled with C++11
- From: "andrew_terekhov at yahoo dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 10 Nov 2015 19:00:03 +0000
- Subject: [Bug python/19227] New: Pretty-printer fails on std::map if compiled with C++11
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19227
Bug ID: 19227
Summary: Pretty-printer fails on std::map if compiled with
C++11
Product: gdb
Version: 7.8
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: andrew_terekhov at yahoo dot com
Target Milestone: ---
I found a problem with gdb 7.8.2-38 if C++ code is compiled with
-std=c++11. When I try to print contents of non-empty std::map I get the
following error:
(gdb) p m1
$2 = std::__debug::map with 1 elementsPython Exception <class 'gdb.error'>
There is no member or method named _M_value_field.:
If I recompile without -std=c++11 then pretty-printers work correctly.
--
You are receiving this mail because:
You are on the CC list for the bug.