首页> 外文会议>International Conference on Embedded Systems and Applications >Debugging of Target Assembly Library Codes Using Host Debugging Tool
【24h】

Debugging of Target Assembly Library Codes Using Host Debugging Tool

机译:使用主机调试工具调试目标装配库代码

获取原文

摘要

Since development of digital system becomes more sensitive to time-to-market than ever, it is necessary to reduce development time. This paper describes a debugging method for library function written in assembly language without a target debugging tool which is developed in the later stage of SoC development. The proposed method can reduce the time required to port and debug codes written in assembly language such as library functions and OS kernels. In the proposed method, an assembly library function is translated into a C function with debugging information which can be used in a host debugging tool. Since a hand-written assembly code is different from a compiler-generated code in the point of translation, a new analysis method is proposed. When translating an assembly code, the debugging information that links the assembly code with the generated C code is inserted as directives in the C code. By executing the host executable compiled from the generated C code on a host debugger which exploits the debugging information directives, we can debug the input assembly code. By translating the assembly library functions in libgcc into C codes and executing the generated C code on a host debugger we verify the proposed method.
机译:由于数字系统的开发比以往更敏感,因此有必要减少开发时间。本文介绍了用汇编语言编写的库函数的调试方法,而无需在SoC开发的后期阶段开发的目标调试工具。所提出的方法可以减少以汇编语言(如库函数和OS内核)编写的端口和调试代码所需的时间。在所提出的方法中,将装配库函数转换为C函数,使用可以在主机调试工具中使用的调试信息。由于手写的汇编代码与转换点的编译器生成的代码不同,因此提出了一种新的分析方法。在翻译汇编代码时,将汇编代码与生成的C代码链接的调试信息被插入C代码中的指令。通过在利用调试信息指令的主机调试器上执行从生成的C代码编译的主机可执行文件,我们可以调试输入汇编代码。通过将程序集库函数翻译成LIBGCC转换为C代码并在主机调试器上执行生成的C代码,我们验证了所提出的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号