• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (10): 156-160.

• 论文 • 上一篇    下一篇

面向宇航微处理器的多目标调试器软件框架KDMON

易会战   

  1. (国防科学技术大学计算机学院,湖南 长沙 410073)
  • 收稿日期:2012-04-25 修回日期:2012-07-10 出版日期:2012-10-25 发布日期:2012-10-25
  • 基金资助:

    国家自然科学基金资助项目(60903059,61003087和61170049);国家科技重大专项(2009ZX01036001003001);国家863计划资助项目(2012AA01A301,2012AA010903)

KDMON: A MultiTarget Debugger SoftwareInfrastructure for Aerospace Microprocessors

YI Huizhan   

  1. (School of Computer Science,National University of Defense Technology,Changsha 410073,China)
  • Received:2012-04-25 Revised:2012-07-10 Online:2012-10-25 Published:2012-10-25

摘要:

本文研究了面向多种型号宇航微处理器的调试器技术,设计了面向LEON2和LEON3两种型号处理器的多目标调试器软件框架KDMON。KDMON采用层次式和模块化软件设计方法,划分为命令解析层、目标驱动层、连接层三个层次,层次之间采用钩子函数定义了清晰的接口。KDMON在多目标系统上具有统一的使用界面,能够支持多种目标系统和连接设备。

关键词: LEON2, LEON3, KDMON, 调试器, 钩子函数

Abstract:

The multitarget debugger techniques for aerospace microprocessors are investigated,and a multitarget debugger software infrastructure,KDMON,is presented for LEON2 and LEON3.KDMON is made up of three software levels,i.e.command analysis level, target driver level, and connection level.Each level includes some function modules,and the interlevel interfaces are defined by a group of hook functions.For users of multitarget systems, KDMON has the same command use interface,and supports debugging for multitarget systems and multiple connection devices.

Key words: LEON2;LEON3;KDMON;debugger;hook functions