在gdb下查看map,vector,queue的数据
来源:互联网 发布:mac虚拟机配置文件 编辑:程序博客网 时间:2024/06/06 00:16
从这里下载一个gdb脚本:http://sourceware.org/gdb/wiki/STLSupport
启动gdb之后,用 source stl-views.gdb 把这个脚本包含进来,
Data type GDB command std::vector<T>pvector stl_variablestd::list<T>plist stl_variable Tstd::map<T,T>pmap stl_variablestd::multimap<T,T>pmap stl_variablestd::set<T>pset stl_variable Tstd::multiset<T>pset stl_variablestd::deque<T>pdequeue stl_variablestd::stack<T>pstack stl_variablestd::queue<T>pqueue stl_variablestd::priority_queue<T>ppqueue stl_variablestd::bitset<n>td>pbitset stl_variablestd::stringpstring stl_variablestd::widestringpwstring stl_variable
启动gdb之后,用 source stl-views.gdb 把这个脚本包含进来,
然后就可以用 pmap 命令打印 map 的内容了。
0 0
- 在gdb下查看map,vector,queue的数据
- gdb 查看vector, list, map 内容
- gdb 查看vector内容
- vector,map,list,queue区别
- vector,map,list,queue区别
- vector,map,list,queue区别
- vector,map,list,queue区别
- vector,map,list,queue区别
- vector,map,list,queue区别
- STL (map , queue , priority_queue , vector , list)的简介
- vector,map,list,queue区别--总结的不错
- STL stack/queue/sort/vector/set/map 的使用方法
- vector,map,list,queue的区别详细解析
- vector,map,list,queue的区别详细解析
- 使用linux的GDB打印STL(vector,map,set..................)
- 20170725使用linux的GDB打印STL(vector,map,set..................)
- gdb查看运行时的数据
- gdb查看内存地址里面的数据
- mobile data setup retry(移动网络--数据业务重试)
- Android中使用第三方jar包
- hadoop安装 步骤(linux)
- android照片墙的实现
- android备份服务流程
- 在gdb下查看map,vector,queue的数据
- 用shell从文件中提取指定字符串的行
- leetcode之Valid Parentheses
- Android源码分析之工厂方法模式
- poj(3280)Cheapest Palindrome(区间dp)
- 类的sizeof
- oracle如何将数据导入到另一个表空间
- #pragma pack(n)的用法
- 数据存储模型