http://bugzilla.suse.com/show_bug.cgi?id=1135254 Bug ID: 1135254 Summary: libstdc++-v3's STL prettyprinters are not used by gdb Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: tdevries@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- So, by default we get: ... (gdb) p freqs $2 = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<char const, int> >
= {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<char const, int> > = {<No data fields>}, <No data fields>}, <std::_Rb_tree_key_compare<std::less<char> >> = { _M_key_compare = {<std::binary_function<char, char, bool>> = {<No data fields>}, <No data fields>}}, <std::_Rb_tree_header> = {_M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x7fffffffdb18, _M_right = 0x7fffffffdb18}, _M_node_count = 0}, <No data fields>}}} ... instead of: ... (gdb) p freqs $1 = std::map with 0 elements ...
Users can install this relatively easily (as described at https://sourceware.org/gdb/wiki/STLSupport), but it would be good to have a better out-of-the-box experience. Fedora does have this. -- You are receiving this mail because: You are on the CC list for the bug.