Font Size: a A A

Research And Implementation Of Target Module In Embedded System Remote Debugging

Posted on:2007-02-07Degree:MasterType:Thesis
Country:ChinaCandidate:K T DanFull Text:PDF
GTID:2178360182493740Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With more and more appliance of embedded systems in areas of communication, network infrastructure, navigation, spacecraft and so on, needs for powerful Integrated Development Environment arise. Debugger is absolutely indispensable in IDE, and it is an important criterion in the estimation of IDE. Currently, there is little domestic research in the area of embedded system debugging, so it is of great meaning for us to do some researches in this area.At the beginning, this thesis will briefly introduce the concept, feature, debugging methods, and popular debugging tools of embedded systems, describe the principle of remote debugging. Then, this thesis brings GDB remote debugging into sight, analyzes the two remote debugging methods, GDB Server and GDB Stub, and contrasts them with each other.To implement a debugger on Real-Time Operating System (RTOS), the author refers to the implementation of GDB Server on Linux, analyzes the source code and Linux "ptrace" system call in detail, and gets to know the keys of target module implementation.Based on the keys, the author analyzes the Real-Time Operating System, SROS, and finds the way to build the target module of GDB remote debugger on SROS. Meanwhile, take actual requirement into consideration. Lots of Real-Time software will be developed, however, man-machine communication will be involved in ordinary debugging methods, so there is no guarantee for real time. Some new mechanism will be needed to ensure real time. This thesis enlightens the way to support Real-Time debugging in remote debugger, using trace point, which is able to collect data without man-machine communication, fulfilling the requirements of Real-Time debugging.
Keywords/Search Tags:Embedded Systems, Remote Debugger, GDB Server, SROS, Real-time debugging, Trace point
PDF Full Text Request
Related items