摘要
针对嵌入式Linux调试代理模型—Gdbserver和Kgdb,从调试代理在系统中所处的层次,进入被调试程序运行空间的方式,捕获被调试程序异常后处理的方式等几个方面进行了分析,总结出内核态与用户态调试的不同之处,建立了内核态与用户态混合调试模型,弥补了现有调试代理模型的不足。对实现内核态与用户态混合调试模型的重要组成部分进行了分析,给出了部分处理流程。
In view of embedded Linux debugging agent model-Gdbserver and Kgdb, the paper mainly analyzes their level in system, the manner of entrance in running space of debugged process, the handling way. after capturing the exception of debugged process and so on. It summarizes the difference between user-mode and kernel-mode, establishes mixture debugging agent model for user-mode and kernel-mode and makes up insufficiency of the existing debugging agent model. Achieving mixture debugging agent of critical technologies for the analysis, and it shows the aspect of handle flow.
出处
《指挥控制与仿真》
2008年第1期111-113,120,共4页
Command Control & Simulation