首页> 中文期刊> 《现代电子技术》 >基于Eclipse的嵌入式软件交叉调试

基于Eclipse的嵌入式软件交叉调试

         

摘要

在嵌入式软件开发过程中调试占据很重要的位置。在详细分析Eclipse,CDT和GDB的特征后,扩展CDT的调试服务框架及其扩展点,实现在宿主机/目标机的开发模式中使用交叉GDB进行嵌入式软件的源代码级交叉调试软件。该交叉调试软件使用Eclipse作为集成开发环境,集成并扩展CDT插件,在宿主机端解析、加载带调试信息的目标文件,启动交叉GDB处理用户的调试操作,通过目标机服务器把经过封装的调试命令发给目标机执行,完成调试功能。该交叉调试方式支持通用的调试操作如设置/删除断点、源代码级或汇编级单步执行、连续执行目标程序、查看/修改目标程序变量、寄存器、内存和查看表达式等,以全软件的方式解决了嵌入式软件开发调试比较困难的、代价高的问题,加快了嵌入式软件开发周期。%Based on the detailed analysis of the characteristics of Eclipse,CDT and GDB,the debugging service frame⁃work of CDT and its extension point was extended,and the cross debugging of embedded software in the source code level was realized by cross GDB used in development mode of host/target computer. Eclipse is adopted in the cross debugging software as the integrated development environment to integrate and expand the CDT plug⁃in,parse and load the object file with debugging information at host machine end,start the cross GDB to process the debugging operation of users,and sent the packed debug⁃ging command to the target machine through the target server to complete the debugging functions. The cross debugging mode supports universal debugging operations such as breakpoint setting/deletion,single step execution in source code level or assem⁃bly level,continuous execution of the target program,check/edition of object program variables,register,memory and expres⁃sion check. It solved the difficulty in the process of embedded software development and debugging in the whole software mode, reduced its cost,and accelerate the development cycle of embedded software.

著录项

  • 来源
    《现代电子技术》 |2015年第6期|86-89|共4页
  • 作者单位

    中航工业 西安航空计算技术研究所 三室;

    陕西 西安 710068;

    中航工业 西安航空计算技术研究所 三室;

    陕西 西安 710068;

    中航工业 西安航空计算技术研究所 三室;

    陕西 西安 710068;

    中航工业 西安航空计算技术研究所 三室;

    陕西 西安 710068;

  • 原文格式 PDF
  • 正文语种 chi
  • 中图分类 TN911-34;
  • 关键词

    交叉调试; Eclipse; CDT; GDB; 嵌入式软件;

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号