Skip to main navigation Skip to search Skip to main content

Debugging of target assembly library codes using host debugging tool

  • Jin Gu Kang*
  • , Won Yong Yang
  • , Jong Yeol Lee
  • *Corresponding author for this work
  • Jeonbuk National University

Research output: Contribution to conferenceConference paperpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationProceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008
Pages200-206
Number of pages7
StatePublished - 2008
Event2008 International Conference on Embedded Systems and Applications, ESA 2008 - Las Vegas, NV, United States
Duration: 2008.07.142008.07.17

Publication series

NameProceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008

Conference

Conference2008 International Conference on Embedded Systems and Applications, ESA 2008
Country/TerritoryUnited States
CityLas Vegas, NV
Period08.07.1408.07.17

Keywords

  • Compiler
  • Debugging tool

Quacquarelli Symonds(QS) Subject Topics

  • Computer Science & Information Systems
  • Data Science

Fingerprint

Dive into the research topics of 'Debugging of target assembly library codes using host debugging tool'. Together they form a unique fingerprint.

Cite this