GDB远程调试及其在嵌入式Linux系统中的应用.pdf
文本预览下载声明
CN43一1258/TP 计算机工程与科学 2004年第26卷第lO期
ISSN1007.130X V01.26.No.10.2004
COMPU7rERENGINEERINGSCIENCE
文章编号:1007.130X(2004)10.0100.04
Its
GDBRemote and
DebuggingApplication
inEmbeddedLinux
Systems
郭胜超。吕 强。杨季文,钱培德
GUO Pei-de
Sheng-chao,LiiQiang。YANGJi-wen,QIAN
(苏州大学计算机工程系,江苏苏州215006)
of 21
(DepartmentComputerEngineering。SoochowUniversity。Soochow5006,China)
摘 要:嵌入式Linux系统的研究和应用越来越热。针对如何完成系统调试工作的问题,本文首先
介绍了GDB远程调试技术在该领域的应用概况,然后从剖析GDB远程调试的工作机制入手,具体描述
了实现该调试手段的一般方法,重点介绍了使用GDB远程调试功能在嵌入式Linux系统中调试各类程
序代码的应用实例。
Abstract:Theresearchand ofembeddedLinux becomemoreandmore thesis
application systems popular.This
embedded
first theoverviewoftheGDBremote in Linux
gives debuggingtechnology development.Afterintroducing
the mechanismofGDBremote authors describethecommonmethodof
concretely
working debugging,the applying
remote toembedded demonstratethecasesof remote toallkindsofcodes.
debugging Linux,and applyingdebugging
关键词:嵌入式Linux;远程调试;GNU调试器
words:embeddedLinux;remote
Key debugging;GDB
中图分类号:TP368.2 文献标识码:A
业化的操作系统,其高昂的价格和定制能力的缺
1 引言 乏,使得许多低端应用无法使用它们作为系统的
软件平台。另一方面,随着自
显示全部