| As the rapid development of the combination of technology of Computer and technology of communication and the internet widely used, it has been forming that 3C (Computer,Communication,Consumer)integrate a new technology. The necessitating result is that center of computer industry changes from computer product to information product. So the man has the concept of Digital Consumer Electronics. In the filed of the application development of the Digital Consumer Electronics, the required function has been increased, so the Embedded system becomes a center of software. At the same time micromation and specialization become new development trend in the filed of the computer itself. It is also demand the support of the embedded system. So in this article we discuss the technology of the embedded system and others. The technology of the embedded system includes Embedded hardware and Embedded software。But embedded software also includes two kides - embedded os and embedded development tools. The debugger is the kernel of the embedded development tools.First, this article analyze the mainly theory of the debugger and describe the debugger's principle. At the base, we discuss and implement all of the debugger's structure. Through these two points, I wish reader should have clearly structure graphics. Based on the embedded debug tool we design and implement a cross debugger which can debug task level-task task and system-level task. At task-level side, these features that task-identify, running-control, dynamic-load, dynamic-unload and others were added. At system-level debugging side, it supports debugging linux kernel, loadable modules and device drivers. The debugger adopt cross debugging technology, so it includes debugger (GDB) at host side and debugger agent (Sgdb& TGdb) at target side which were implement at system-level and task-level. The system adopts module and hierarchy design, has powerful functions, real time features, and portability and is easy-clipped which meets the requirements of variable users. |