This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/59075] python pretty printer does not work at OS X


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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]