printing stl containers with gdb 7.0

后端 未结 3 779
失恋的感觉
失恋的感觉 2020-12-30 08:23

I have installed GDB 7.0 and python per the following instructions. In the same manual, there is a mention of this file stl-views-1.0.3.gdb. What confuses me is where it sh

3条回答
  •  有刺的猬
    2020-12-30 09:05

    As far as I can tell, stl-views are the old way to examine STL containers, and are inferior to the new python support in almost every way.

    You should use libstdcxx_printers python pretty-printers instead.

提交回复
热议问题