下载此文档

gdb gdbserver arm程序调试(gdb gdbserver arm程序调试).doc


文档分类:IT计算机 | 页数:约27页 举报非法文档有奖
1/27
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/27 下载此文档
文档列表 文档介绍
gdb+gdbserver arm程序调试(gdb + gdbserver arm程序调试)
Content remote debugging environment consists of host GDB and target debugging stub, both of which are connected by serial port or TCP. Using the GDB standard serial protocol to work together, the monitoring and debugging functions of the system kernel and upper application are realized. Debugging stub is a piece of code in embedded systems that exists as a medium between the host GDB and the target debugger. For now, the embedded Linux system, there are mainly three kinds of remote debugging methods, which are suitable for different occasions with ROM Monitor debugging: debug target program, debugging system and debugging kernel in KGDB user space program with gdbserver. The difference between the three debugging methods lies in the difference in the form of remote debugging of stub by the target machine, while the design idea and implementation method are approximately the same. And the mon thing we do is debug applications. Gdb+gdbserver is used to debug. In many cases, users need to debug an application repeatedly, plex programs. Using GDB method debugging, because the embedded system resources are limited, can not be directly on the target system debugging, usually using gdb+gdbserver way debugging.
Simple use of GDB and gdb+gdbserver mode for ARM program
The simple use of GDB
GDB is a powerful program debugging tool released by GNU open anization under UNIX. Maybe you love that way of a graphical interface, like VC, BCB and IDE debugging, but if you do the software under the UNIX platform, you will find the GDB
debugging tools have more powerful than graphical debugger VC, BCB function. The so-called "Sometimes an inch may prove long. is the truth, everyone has his own advantages.". In general, GDB mainly helps plete the following four aspects of function: 1, start your program, you can according to your own custom requirements run the program as you please.
2. Allow the debugged program to stop at the brea

gdb gdbserver arm程序调试(gdb gdbserver arm程序调试) 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数27
  • 收藏数0 收藏
  • 顶次数0
  • 上传人rjmy2261
  • 文件大小31 KB
  • 时间2017-11-18
最近更新