摘要
分析了利用Gdbstub远程调试Linux内核的原理,提出了对Gdbstub的改进方法,首先实现了目标机上运行的程序在调试模式和正常运行模式之间的切换,其次,在Gdbstub中增加了测定程序段运行时间的功能。
In this paper, we analyzed the principle of Gdbstub which is used for remote debugging Linux kernel, and presented the improvement methods for gdbstub. Firstly, we realized the function of switching between the determinmg mode and normal mode on the target. Secondly, we added a precisetiming function for determining the running time of a procedure's in gdbstub.
出处
《微计算机应用》
2005年第5期575-578,共4页
Microcomputer Applications
基金
江苏技术师范学院院级项目基金资助
项目编号KYY04001。