Title :
Research of “Stub” remote debugging technique
Author :
Li, Hongwei ; Xu, Yaping ; Wu, Fangsheng ; Yin, Changhong
Author_Institution :
Sch. of Comput. Sci. & Eng., Jiangsu Teachers Univ. of Technol., Changzhou, China
Abstract :
Any application software will inevitably contain bugs during the development cycle. In order to correct these software flaws, developers need access to powerful debugging tools that allow them to be more efficient as well as be able to dig into the detailed operation of their application. Therefore, the debugger is a comparatively important tool in software development, particularly in the embedded software development. The paper analyses and studies the embedded debugging technique of stub mode. It adopts the remote serial communication protocol of GNU GDB, and takes over all exception handlers by software to implement debugging and tracking of object program. It realizes to read and to write memory units and registers, to set breakpoint, single step and to continue running. Stub mode is applied to RTEMS embedded real-time operating system and application program for debugging based on ARM.
Keywords :
embedded systems; exception handling; microprocessor chips; operating systems (computers); program debugging; protocols; storage allocation; ARM; GNU GDB; RTEMS embedded real-time operating system; application program; embedded software development cycle; exception handler; object program tracking; read-write memory unit; remote serial communication protocol; software bug; software flaw correctness; stub remote debugging technique; Application software; Computer bugs; Embedded software; Programming; Protocols; Read-write memory; Real time systems; Registers; Software debugging; Software tools; breakpoint; embedded system; remote debugging; step; stub;
Conference_Titel :
Computer Science & Education, 2009. ICCSE '09. 4th International Conference on
Conference_Location :
Nanning
Print_ISBN :
978-1-4244-3520-3
Electronic_ISBN :
978-1-4244-3521-0
DOI :
10.1109/ICCSE.2009.5228140