GDB(GNU Debugger)作为广泛应用在嵌入式交叉调试的一款开源调试器,得到了广大开发人员的认可。本文对GDB调试器中的远程通信协议格式进行深入解析,可以为GDB移植到不同处理器架构提供参考。
Abstract
GDB has been recognized by developers as a debugger widely used in embedded cross debugging.This paper analyzes the format of the RSP(Remote Serial Protocol) in GDB.This paper provides an important reference for porting GDB to various processors.
关键词
GDB /
RSP /
调试代理
Key words
GDB /
RSP /
debug agent
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] 龚伟.GDB事件机制的深入分析[J].计算机与数字工程,2007,7(35).
[2] 盛建忠,王胜,张庆文.GDBRSP协议与USB通信在嵌入式调试系统中的应用[J].电子与封装,2013,13(3).
[3] Richard Stallman,Roland Pesch,Stan Shebs,et al.Debugging with gdb,2011.