
GDB
xiaoyulovly
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
GDB常用命令
0、基本命令 up/down/f/p/x/b 反汇编:disassemble 寄存器:i r 1、设置子进程跟随 set follow-fork-mode child 2、生成core文件 gcore coredump名称 3、找出coredump文件的应用程序 gdb -c corefile 使用gdb调试core文件 info auxv 索引31对应的...原创 2019-05-10 14:11:22 · 908 阅读 · 0 评论 -
GDB设置启动参数和启动脚本
1、启动参数 在/root目录创建名为:.gdbinit的文件(注意以 . 开头的文件) 可在此文件内设置以下参数: set confirm off set pagination off set print pretty on set print thread-events off set solib-search-path /opt/lib handle SIGPIPE nostop ...原创 2019-08-24 15:05:10 · 1869 阅读 · 0 评论 -
gdb脚本
100个gdb小技巧 https://wizardforcel.gitbooks.io/100-gdb-tips/index.html 循环 set $seq=0 while ($seq < 32) set $seq++ end 宏定义 define dump_history set var $slab_id = $arg0 set va...原创 2019-08-26 12:02:45 · 451 阅读 · 0 评论