Font Size: a A A

Based On The Design Of Embedded Systems Of The Gdb Debugger

Posted on:2007-03-18Degree:MasterType:Thesis
Country:ChinaCandidate:W GongFull Text:PDF
GTID:2208360185456158Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As a crucial embedded development tool,the embedded system debugger is usually used to debug and test embedded software。A embedded system debugger consists of a cross debugger and a debugger agent,which characteristic lies in the separation of running environments between the cross debugger and the debuggee and the dependence on the gdb agent in the debug session。With the development of embedded technique,various embedded debug techniques continuously advance and all kinds of embedded system debuggers are playing a more and more important role in the embedded software development。The GNU debugger,gdb as a tool in the GNU toolkits, is an extremely powerful source-level debugger。Among gdb's many noteworthy features,its ability to debug programs"remote"is fascinating。This capability is not only essential when porting GNU tools to a new operation system or microprocessor,but it's also useful for developers who need to debug an embedded system based on a processor that GNU already supports。Gdb is the preferred solution in embedded development because it provides portable,sophisticated debugging over a broad rang of embedded systems。This paper discusses the status quo of various embedded system debuggers; deeply analyses the overall structure of gdb and the debugging mechanism of gdb based on its source codes;Introduces the gdb's remote debug technique and gdb/MI,which are usually used to develop the gdb-based embedded system debugger。Then dwells on how to use gdb/MI to develop a GUI front and how to use RSP,stub and gdbserver to design a debug agent,in order to expatiate on the design method of the gdb-based embedded system debugger。In the end,provides a concrete implementation of the gdb-based embedded system debugger of"embedded simulation development platform",the project of the innovation fund for technology based firms。...
Keywords/Search Tags:cross debugger, gdb/MI, RSP, stub, gdbserver
PDF Full Text Request
Related items