作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2003, Vol. 29 ›› Issue (10): 85-87.

• 论文 • 上一篇    下一篇

Linux内核调试技术

张磊,王学慧   

  1. 国防科技大学计算机学院,国防科技大学机电工程与自动化学院 长沙 410073
  • 发布日期:2003-05-25

Linux Kernel Debugging Technique

ZHANG Lei1,WANG Xuehui2   

  1. (1. Department of Computer Science, National University of Defence Technology, Changsha 410073; 2.Department of Electromechanical Engineering and Automation, National University of Defence Technology, Changsha 410073)
  • Published:2003-05-25

摘要: 开发Linux应用时经常需要对Linux内核进行裁剪或修改,由于操作系统内核的特殊性,不能用调试普通用户程序的方法调试内核。该文首先介绍了常用的Linux内核调试方法,分析了其优缺点,然后详细讲解了一种利用KGDB的远程Linux内核调试技术。

关键词: Linux, KGDB, 内核, 调试

Abstract: It is necessary to cut or modify the Linux kernel in the course of Linux application development, because of the particularity of the operating system kernel, it is unpossible to debug the kernel just like debugging a normal user application. This paper first introduces the Linux kernel debugging methods in common use, analyzes their respective advantages and disadvantages, then explains a remote Linux kernel debugging method using KGDB in detail.

中图分类号: