| With the rapid growth in the number of the embedded applications, the size andcomplexity of embedded software has increased constantly. However, the developmentcosts of the embedded software has became higher and higher. Studies have showed thatthe debugging time has occupied more time of development s. In order to improve thequality of software, a complete embedded application-level debugger is essential. It canreproduce the software failure and position the problem and resolve the problems at last.The paper has made a deep analysis of the principle and techniques of thecross-debugging of the embedded on application-level. The paper also descripes theRemote serial protocol and debug agent technique. Then it describes the basic debug andmuli-thread debug and multi-core debug in detail. The basic debug has the followingdebug funcitions including breakpoint management, MIPS-based software single-step,variable tracking, source codes management and interface design which has internal andexternal interfaces. The interface provides invoke methods for multi-thread and multi-coredebug as the asynchronous non-stop debug mode provides technical support for them.At last, the embedded cross-debug system on application-level has been verified bythe functional testing. It comes to a conclusion that the system meets the debugrequirements of basic debugging, multi-thread debugging and multi-core debugging. Thedebug efficiency can be improved by the asynchronous non-stop debug mode to a certainextent. |