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>