In this paper we describe the debugger design, which is based on GDB and with hybrid architecture of Superscalar and VLIW double-mode.The debugger design is divided into two parts, the proxy debugging side and the client.The proxy debugging side realises the RSP ( remote serial protocol )-based basic debugging proxy function, and the client side realises the target processor adding, debugger initialisation, and the processing of registers data and opcodes, etc.Test results demonstrate that this debugger achieves the program debugging functions such as remote debugging, checking, modifying the values of registers and memories, adding and deleting breakpoints, disassembly, checking stack information and single stepping, etc.%描述基于GDB的支持超标量( Superscalar)和超长指令字( VLIW)双模式混合架构的调试器设计. 该调试器设计分为代理调试端和客户端两部分,代理调试端实现基于RSP协议的基本调试代理功能,客户端实现目标处理器的添加,调试器初始化,寄存器数据、操作码等的处理. 测试结果表明调试器实现了远程调试,查看、修改寄存器及内存值,添加、删除断点,反汇编,查看栈信息及单步等程序调试功能.
展开▼