Gdb printer打印STL

gdb更友好的打印STL的内容,可以使用gcc提供的printers插件,只需将以下内容写到~/.gdbinit文件中即可: python import sys sys.path.insert(0, '/usr/share/gcc-7/python') from libstdcxx.v6.print
posted @ 2021-08-27 15:05  灰太狼锅锅  阅读(181)  评论(0编辑  收藏  举报