节点文献

实时Linux操作系统的调试器的设计与实现

【作者】 刘飞

【导师】 罗克露;

【作者基本信息】 电子科技大学 , 计算机应用技术, 2004, 硕士

【摘要】 在以计算机技术、通讯技术相结合的信息时代的快速发展和互联网的广泛应用的形势下,3C(Computer、Communication、Consumer)合一的趋势已经形成,其结果必然就是将计算机工业的重心从计算产品转移到信息产品,从而出现信息家电的概念。在信息家电的应用开发领域,由于需要的功能不断的增加,嵌入式系统也就将成为软件业的新宠儿。同时在计算机本身的领域里面,微型化和专业化成为了发展的新趋势,同样也需要嵌入式系统的支持。因此引发了对嵌入式系统相关技术的研究。嵌入式系统相关技术包括嵌入式硬件技术和嵌入式软件技术。其中嵌入式软件技术包括嵌入式操作系统和嵌入式开发工具。我们这篇文章讨论的就是嵌入式开发工具中的核心工具之一调试器。本论文首先分析调试器的核心理论,阐述了调试中的基本原理。在这基础之上,我们讨论并设计了整个调试框架,按着调试框架的设计我们对调试的子功能部分系统级调试与任务级调试进行了实现。在任务级调试上我们在保持原有的调试功能之外,增加了对被调试任务的识别、运行控制,并能够识别内核级线程和用户级线程以及根据用户的不同要求,绑定某个任务(集)进行调试等,且提供了跨平台的功能,使得该调试代理可以运行在多个操作系统之上。在系统级调试,支持对嵌入式linux内核,可加载模块,设备驱动等系统级任务的调试。该调试系统采用交叉调试方式,因此包括宿主机方的调试器和目标机方的调试代理两部分。整个调试系统采用模块化和层次化设计,系统功能强大,图形界面生动,具有良好的命令响应实时性、可移植性、可剪裁性,可以满足不同用户的调试需求。

【Abstract】 As the rapid development of the combination of technology of Computer and technology of communication and the internet widely used, it has been forming that 3C (Computer、Communication、Consumer)integrate a new technology. The necessitating result is that center of computer industry changes from computer product to information product. So the man has the concept of Digital Consumer Electronics. In the filed of the application development of the Digital Consumer Electronics, the required function has been increased, so the Embedded system becomes a center of software. At the same time micromation and specialization become new development trend in the filed of the computer itself. It is also demand the support of the embedded system. So in this article we discuss the technology of the embedded system and others. The technology of the embedded system includes Embedded hardware and Embedded software。But embedded software also includes two kides - embedded os and embedded development tools. The debugger is the kernel of the embedded development tools.First, this article analyze the mainly theory of the debugger and describe the debugger’s principle. At the base, we discuss and implement all of the debugger’s structure. Through these two points, I wish reader should have clearly structure graphics. Based on the embedded debug tool we design and implement a cross debugger which can debug task level-task task and system-level task. At task-level side, these features that task-identify, running-control, dynamic-load, dynamic-unload and others were added. At system-level debugging side, it supports debugging linux kernel, loadable modules and device drivers. The debugger adopt cross debugging technology, so it includes debugger (GDB) at host side and debugger agent (Sgdb& TGdb) at target side which were implement at system-level and task-level. The system adopts module and hierarchy design, has powerful functions, real time features, and portability and is easy-clipped which meets the requirements of variable users.

【关键词】 交叉调试系统级调试任务级调试GNU
【Key words】 ggerSystem-debuggerTask-debuggerGNU
  • 【分类号】TP316
  • 【被引频次】7
  • 【下载频次】339
节点文献中: 

本文链接的文献网络图示:

本文的引文网络