Font Size: a A A

The Research And Design Of The Debugger Basing On ACoral Operating System

Posted on:2014-05-29Degree:MasterType:Thesis
Country:ChinaCandidate:B HanFull Text:PDF
GTID:2268330401965141Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
As the embedded technology developing rapidly, the embedded system isbecoming more and more complicated. The possibility of system and software buggreatly increased, so the role the software debugging played in embedded system willbe more and more important.Due to the difference between the embedded and thetraditional desktop system, the embedded system’s hardware resources and softwareenvironment are limited, so it uses cross-debugging technology which includes thehost-side and the target-side.aCoral is an open-source embedded operating system with the feature thatsupporting multi-core and strong real-time, but there is no one debugger to support it forsoftware debugging now, so developing a software debugger for acoral is verysignificative, not only to further understand its kernel and its realization, but also tolearn the key technology in embedded software debugging.In this paper, first of all, I detailed analysis the theory of GDB remote debuggingfrom the host, the target machine, debugging agent three aspects of GDB, and thenintroduced the acoral operating system, analyzing its debugging requirements. After that,this thesis had designed the architecture of the debugger, and implemented it onS3C2440under the aCoral RTOS. This debugger is composed by3main parts:host-target connection module, RSP protocol support module and GDB commandsupport module. Lastly, this thesis has tested and validated the debugging and proxyfunction.This thesis has designed a debugger that supports many common GDB commands,including breakpoints related commands such as adding and removing breakpoints,registers related commands such as inspecting register value, variable related commands.During acoral application development, developers could debug the application withGDB through debugging proxy, the implementation of debugging proxy provides apossible way for software debug, thus reducing the development cost and benefitingaCoral’s improvement and promotion。...
Keywords/Search Tags:embedded system, remote debugging, aCoral, debugging agent, GDB
PDF Full Text Request
Related items