Font Size: a A A

Embedded System Design And Implementation Of Cross-debugger

Posted on:2009-02-13Degree:MasterType:Thesis
Country:ChinaCandidate:Q LiangFull Text:PDF
GTID:2208360245961167Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Cross debugger is a crucial tool for developers in embedded system domain. It provides the facilities to control and introspect into other running programs, which is important for the programmer to find where the bug is, and then fix the bug. As a debugger for cross development environment, cross debugger not only has traditional debugger's features such as breakpoint, variable inspecting, etc. but also should provide many cross facilities, for example, remote downloading, remote controlling, and every command from the host will be parsed and executed by the debugger agent in the target.This dissertation discloses the magic of cross debugger's theory and its design principles, also with the implementations and detail internals. We firstly review the history of cross debugger's development. Then we analyze the main frame and core technology of debugger's designing, such as hardware and operating system's surport, breakpoint and single stepping, controlling execution, inspecting data and variables, program context and so on.Insight is a front end for GNU debugger(GDB). We analyze each of its modules and dig deeply into its source code. Some modification is done to make it fit the need from our debugging environment.In embedded field, there are various target hardwares with different architecture. So making a debugging agent that can run on multiple hardwares is meaningful. This dissertation dedicates to research on designing this kind of debug agent. And a version based on PC104 is developped. And the details of individual module are described.Embedded research is going forward in several areas such as realtime, ditributing, SOC, which bring out new challenge to cross debugging. There are much work should be done in the future in this field.
Keywords/Search Tags:embedded, cross debugging, Insight, debug agent, mutiple target
PDF Full Text Request
Related items