I have debugged C++ codes using
gdb in Ubuntu 14.04. When I pass a
stl container to the
This guy also has the same problem.
libstdcxx/v6/python.pyon my system. I also have
libstdc++.so.6.0.21-gdb.py in the auto-load folder. When I print info pretty-printer in
gdb, I get a list of
stl printers, so I know they are registered. However, my
gdb doesn't print
stl::list variable. i have enabled
pretty-printer, set print pretty on.
My gcc version is 5.4 and gdb version is 7.11.1.Both were installed along with Ubuntu 16.04. I haven't built them manually. So anything obvious I am missing?