摘要
开发Linux应用时经常需要对Linux内核进行裁剪或修改,由于操作系统内核的特殊性,不能用调试普通用户程序的方法调试内核。该文首先介绍了常用的Linux内核调试方法,分析了其优缺点,然后详细讲解了一种利用KGDB的远程Linux内核调试技术。
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.
出处
《计算机工程》
CAS
CSCD
北大核心
2003年第10期81-83,共3页
Computer Engineering