文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>gdb debug 笔记

gdb debug 笔记

时间:2009-04-17  来源:ubuntuer

   个人学习笔记,一般人估计看不懂滴!!!!!弥补下个人记忆力的不足.
  
1. args
   set args --name XXX --objtype YYY ...
   show args

2.execute shell cmd
   shell ls
   shell vi urfile

3.redirect input/output
   run > output

4.multiple threads
   4.1 info threads -- inquire existing thread
   4.2 thread threadno --switch to the threadno(threadno which info threads show)

5.multiple processed
   5.1 set follow-fork-mode mode
        mode == parent: the child process run unimpeded,this is default
        mode == child: the parent process run unimpeded
   5.2 show follow-fork-mode -- display the current debugges

6.display var: automatic display the var value
  print--p nothing to say 

7.breakpoints b
  7.1  info b:print a table of all breakpoints
  7.2  clear location:delete any breakpoints set at the specified location
        location---function
                filename:function
                linenum
                filename:linenum
  7.3  disable [breakpoints] [range......]
          disbale the specified breakpoints--all points,if none are listed
          enable.......

   eg: disable b no(no is which info b show)

8.multiple files
   8.1 b function name
   8.2 b filename:lineno
       b filename:function name  

基本差不多了,一个400多页的dgb 手册居然被我缩减成这么点东东^_^
相关阅读 更多 +
排行榜 更多 +
超凡先锋网易正版手游

超凡先锋网易正版手游

飞行射击 下载
超凡先锋测试版(badlanders)

超凡先锋测试版(badlanders)

飞行射击 下载
2025正版pubg mobile国际服

2025正版pubg mobile国际服

飞行射击 下载