我们希望在WinDbg中自动显示.搜索和过滤std::map对象.std::vectors的脚本相对简单,因为vectors中数据的平面结构:map是更复杂的野兽.具体地说,Visual C++ STL中的映射是作为红黑树实现的.每个树节点都有三个重要的指针:左指针.右指针和父指针.此外,每个节点都有一个Myval字段,其中包含std::对以及节点表示的键和值.迭代树结构需要递归,WinDbg脚本没有任何语法来定义函数.但是,我们可以递归地调用脚本——允许脚本包含$$>a<命令,该命令使用不同
转:http://blog.chinaunix.net/uid-13982689-id-34282.html先下载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_* func
Basic Concepts of Block Media Recovery Whenever block corruption has been automatically detected, you can perform block media recovery manually with the RECOVER ... BLOCK command. By default, RMAN first searches for good blocks in the real-time query