GDB STL Utilities_C/C++_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > C/C++ > GDB STL Utilities

GDB STL Utilities

 2010/12/31 8:02:02  yefishskivvy  http://yefishskivvy.javaeye.com  我要评论(0)
  • 摘要:GDBSTLUtilitiesThere'sawonderfultoolbyGiladMishnefordebuggingSTLcodewithGDB.Unfortunately,ithadsomebugs(orperhapsincompatibilitieswithmyversionsofGCC/GDB).SoI'vefixedthesebugsandrepackageditinaslightlymoreuser-friendlyformat.Downloadgdb_stl_utils
  • 标签:

?

?GDB STL Utilities

There's a wonderful tool by Gilad Mishne for debugging STL code with GDB. Unfortunately, it had some bugs (or perhaps incompatibilities with my versions of GCC/GDB). So I've fixed these bugs and repackaged it in a slightly more user-friendly format.

Download gdb_stl_utils.tar.gz , extract it, and run make . This will compile and install the necessary files in ~/.gdb (edit the Makefile if you want to use a different directory). To use the p_stl_* functions, add:

source ~/.gdb/gdb_stl_utils

to your ~/.gdbinit .

I've tested this with GCC 3.3.3 and 3.4.0, and GDB 6.0. Let me know if you have any problems with it!?
??
?原网页:?
?http://www.stanford.edu/~afn/gdb_stl_utils/ ??
?http://staff.science.uva.nl/~gilad/stl/stl_gdb.html ?
?http://www.yolinux.com/TUTORIALS/GDB-Commands.html

上一篇: git repo安装 下一篇: Nginx事件处理(epoll)
  • 相关文章
发表评论
用户名: 匿名