节点文献

嵌入式操作系统远程调试器的研究与实现

【作者】 张彦明;

【导师】 何华灿;

【作者基本信息】 西北工业大学 , 计算机应用技术, 2002, 硕士

【摘要】 软件调试是软件开发过程中不可缺少的重要阶段。传统的嵌入式系统的调试主要是通过软件仿真的方式或是通过处理器硬件调试手段来完成。而随着计算机器件的微型化、高速化和嵌入式操作系统的发展,传统的调试手段因其高昂的开发维护费用和较长的研制周期,无法很好地胜任目前的调试需求。远程软件调试已经成为嵌入式操作系统调试的重要手段。目前,已有的远程软件调试工具都是国外操作系统公司的产品,国内这一领域的研究工作大都还停留在对国外产品的源代码分析和功能剪裁上,还没有自主版权的产品出现。 作者在北京科泰世纪科技有限公司做课题期间,参与了嵌入式操作系统ZYCO的研发工作,在对远程调试工作原理和ZYCO内核功能深入研究的基础上,设计并实现了ZYCO操作系统的远程调试功能。该远程调试功能包括系统内核中的调试功能模块和运行于远程主机的调试器ZDBG。在功能设计上,除了使ZDBG可以完成一般的应用调试器助能,例如设置断点、单步执行、读写内存、修改寄存器值等等,还通过创新性的设计使得ZDBG可以用于调试ZYCO操作系统自身。针对嵌入式操作系统的多处理器版本的特点,对远程调试功能进行了调试接口抽象,已经实现的调试器版本有IX86版和ARM版。 本论文是对作者的研究工作及成果的总结,主要内容有: 1.对ZYCO操作系统进行概要介绍; 2.对远程调试器ZDBG的工作原理进行结构性分析,包括各个功能模块的分布和实现; 3.介绍远程调试接口定义和各种调试命令的实现技术; 4.探讨了调试功能对不同处理器平台的移植、对系统内核调试的支持技术、对不同通讯方式的支持以及对跨Internet调试的扩展。

【Abstract】 Software debugging is an important phase in software developing process. Debugging in traditional embedded system is mainly by means of emluator and processor hardware debugger. Along with the progress of processor’s micromation and speeding up, the traditional debugging technology could not meet the demands since its higher cost and extended development period. Remote cross debugging has become an important debugging means in embedded operating system. Presently all the debugging tools are overseas corporations’ products. Domestic R&D has not been deployed in this field, saying nothing of products.Author designed and implemented the remote debugging function in embedded OS ZYCO in the practical R&D period in Beijing Coretac Inc. since Aug,2000. The remote debugging function concludes debugging module in kernel and debugger ZDBG which runs on remote machine. ZDBG can perform generic debugger function such as set breakpoint, single step, R/W memory, modify register and etc. And ZDBG can debug ZYCO’s kernel by its innovative design. The work of debugging interface abstract has been done and implemented version concludes IX86 version and ARM version.This dissertation summarizes most of my work and results. It concludes:1. Introducing of ZYCO operating system.2. Analyzing of the work principle in ZDBG include the framework of each module.3. Discussing of debugging interface and the realizing of various debugger commands.4. Discussing some relative topics of debugger design, such as the transplant of debugger, the design of kernel debugger, the support of various communication mode, the extension to long-distance debugger via Internet.

  • 【分类号】TP316
  • 【被引频次】11
  • 【下载频次】237
节点文献中: