免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1980 | 回复: 2
打印 上一主题 下一主题

[其他] gdb 调试对应的代码 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-10-21 14:23 |只看该作者 |倒序浏览
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
2 [报告]
发表于 2012-10-21 19:10 |只看该作者
set directories path-list

论坛徽章:
4
水瓶座
日期:2013-09-06 12:27:30摩羯座
日期:2013-09-28 14:07:46处女座
日期:2013-10-24 14:25:01酉鸡
日期:2014-04-07 11:54:15
3 [报告]
发表于 2012-10-21 19:16 |只看该作者
  1. (gdb) help
  2. List of classes of commands:

  3. aliases -- Aliases of other commands
  4. breakpoints -- Making program stop at certain points
  5. data -- Examining data
  6. files -- Specifying and examining files
  7. internals -- Maintenance commands
  8. obscure -- Obscure features
  9. running -- Running the program
  10. stack -- Examining the stack
  11. status -- Status inquiries
  12. support -- Support facilities
  13. tracepoints -- Tracing of program execution without stopping the program
  14. user-defined -- User-defined commands

  15. Type "help" followed by a class name for a list of commands in that class.
  16. Type "help all" for the list of all commands.
  17. Type "help" followed by command name for full documentation.
  18. Type "apropos word" to search for commands related to "word".
  19. Command name abbreviations are allowed if unambiguous.
  20. (gdb) help files
  21. Specifying and examining files.

  22. List of commands:

  23. add-symbol-file -- Load symbols from FILE
  24. add-symbol-file-from-memory -- Load the symbols out of memory from a dynamically loaded object file
  25. cd -- Set working directory to DIR for debugger and program being debugged
  26. core-file -- Use FILE as core dump for examining memory and registers
  27. directory -- Add directory DIR to beginning of search path for source files
  28. edit -- Edit specified file or function
  29. exec-file -- Use FILE as program for getting contents of pure memory
  30. file -- Use FILE as program to be debugged
  31. forward-search -- Search for regular expression (see regex(3)) from last line listed
  32. generate-core-file -- Save a core file with the current state of the debugged process
  33. list -- List specified function or line
  34. load -- Dynamically load FILE into the running program
  35. nosharedlibrary -- Unload all shared object library symbols
  36. path -- Add directory DIR(s) to beginning of search path for object files
  37. pwd -- Print working directory
  38. remote -- Manipulate files on the remote system
  39. remote delete -- Delete a remote file
  40. remote get -- Copy a remote file to the local system
  41. remote put -- Copy a local file to the remote system
  42. reverse-search -- Search backward for regular expression (see regex(3)) from last line listed
  43. search -- Search for regular expression (see regex(3)) from last line listed
  44. section -- Change the base address of section SECTION of the exec file to ADDR
  45. sharedlibrary -- Load shared object library symbols for files matching REGEXP
  46. symbol-file -- Load symbol table from executable file FILE

  47. Type "help" followed by command name for full documentation.
  48. Type "apropos word" to search for commands related to "word".
  49. Command name abbreviations are allowed if unambiguous.
  50. (gdb)
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP