Font Size: a A A

Embedded Collaborative The Debugging Environment Research And Design

Posted on:2012-09-29Degree:MasterType:Thesis
Country:ChinaCandidate:J W ZhangFull Text:PDF
GTID:2218330335996107Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
In recent years, with the popularity of embedded system, embedded software, especially the application software has developed rapidly. With the increasing complexity of processors and embedded system, the scale of embedded software is becoming ever larger. As an important part of embedded system development, the corss-debugging for embedded device are becoming more complicated. That how to improve the cross-debugging technology and the efficienty of embedded software development has become an urgent problem.Because of Linux dominating the embedded operating system field, the Unix/Linux standard debugger GDB (GNU Debugger) has become the first choice of debugging tools for the majority of embedded system developers. In case of the complexity of debugging current embedded software, a design model of collaborative debugging environment (CDE) for embedded system has been put forward, which has achieved the function of muti-hosts synchronous display when a single host is debugging, this make the development team memebers in different locations could synchronously debug the same inferior through the collaborative debugging environment, and also achieve the goal of improving debugging efficiency under the collaboration of team members.This dissertation has firstly analyzied the implementation mechanizms for GDB remote debugging, the parallel debugger implementation model for muti-task debugging, and the method of integrating GDB into large-scale software system through MI interface, therefore the basic framework of collaborative debugging environment (CDE) has been put forward.. On this basis, through improving the GDB event mechanism, the dissertation has eliminated the possibility of interruption by parallel events when the frontend of CDE is executing the debugging instructions. To meet the requirement of synchronous debugging, a kind of data transmitting and data synchronizing technology has been put forward, which has implemented the function of synchronizing the debugging results in all hosts in the collaborative debugging team during the host with priotity is operating the debugging process. The uncertainty of parallel instruction arrival time in CDE server could result in conflicts between instructions. To solve the problem, a kind of transaction mechanism to serialize the instructions has been proposed, which has ensured the complete executing of evey instruction.At the end of the dissertation, a specific design for frontend, server side and debug daemon on remote target of CDE under Linux OS has been put forward, which has implemented the function of synchronous debugging and has also ensured that the checking operation of hosts without priority would not disturb the synchronous debugging process.
Keywords/Search Tags:Collaborative Debugging, Synchronous Debugging, Debugging Session, GDB/MI, Remote Debugging, Priority
PDF Full Text Request
Related items