摘要
嵌入式远程调试器为嵌入式系统开发者提供了一个友好的软件调试平台。探讨了保护模式下的用户目标程序的调试方法,并详细阐述如何运用运行在远程设备上的监控程序实现实模式下监控环境与保护模式下用户环境之间的相互切换。监控程序能够判别用户目标当前运行模式,通过Inter处理器在保护模式或实模式下的断点中断和单步中断,实现用户目标程序的单步运行、运行到断点以及查看或修改内存和寄存器等符号化调试功能,能够让用户在远程调试环境中方便地使用数据共享、多任务以及特权保护等技术。
Embedded remote debugger provides a friendly software platform for the developers.Studys the debugging methods of user target program in protected mode,and introduces detailedly how to run the remote device monitoring program to achieve the switch between monitor environment in real mode and user environment in protected mode.Using the features of Intel processer of breakpoint interruption and singal step interruption,the monitor program can determine the current operating mode of user and achieve the functions such as single step running,running to the breakpoint,and showing verrfying the contents of memory and registers of the remote device.The program can provide with a user-friendly debugging environment applying data sharing and multi-task and privilege protection technology conveniently.
出处
《计算机技术与发展》
2011年第4期242-245,共4页
Computer Technology and Development
基金
江苏省企校合作项目(2008发04)
关键词
远程调试
保护模式
调试功能
remote debugging
protected mode
debugging function