摘要
软件调试是软件开发过程中不可缺少的重要阶段,调试器对系统底层软件和嵌入式系统的开发尤其重要。文章根据GDB嵌入式交叉调试的原理及特点,提出了一种易于扩展的交叉调试器的软件架构,并在此架构基础上设计实现了基于Leon2处理器的交叉调试器;实践证明此软件架构很好地解决了调试器的目标机重定向性和调试功能扩充性问题.可以适应嵌入式处理器和调试接口的多样性特点,达到了设计的要求。
Software debugging is an important phase in software developing process. Debugger is vital for the development of low-level system software and embedded system. According to the principles and features of GDB embedded cross debugging, this paper presents a software architecture of a scalable cross debugger, and implements the Leon2-based cross debugger on this architecture. This software architecture makes the debugger more retargetable and scalable, also makes the multicharacteristics of embedded processor and debug-interface more adaptable. Practice has proved that the debugger has reached the designing requirement.
出处
《电子技术(上海)》
2007年第11期26-29,共4页
Electronic Technology