This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/59075] python pretty printer does not work at OS X
- From: "manuelrciosici at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Apr 2016 09:32:04 +0000
- Subject: [Bug libstdc++/59075] python pretty printer does not work at OS X
- Auto-submitted: auto-generated
- References: <bug-59075-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59075
manuelrciosici at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manuelrciosici at gmail dot com
--- Comment #7 from manuelrciosici at gmail dot com ---
I can confirm having the same issue on OS X 10.11.4 with GDB 7.8 (from CLion)
and with GDB 7.11 (compiled from Homebrew). I am using GCC 5.3.0 also compiled
from Homebrew. Alexander's code suggestion fixed the problem for me.
When I call 'ptype' on a vector of unsigned long I get the following:
type = class vector<unsigned long, std::allocator<unsigned long> > [with _Tp =
unsigned long, _Alloc = allocator<unsigned long>]
: protected _Vector_base<_Tp, std::_Alloc>