While Embedded technology develops rapidly,embedded system development toolkit is a special important component in the embedded system development, in which new study and technology update continuously,which includes hardware development tools and software development tools. The core in the toolkit used most popular are cross compiler and cross debugger. It is discussed in this thesis that use of cross compiler and cross debugger in embedded system software development toolkit.In this thesis, the conception of cross debugging and cross compiling are introduced,and the process of embedded software development is explained,the conception of system-level debugging and task-level debugging are discussed also, diffence between which is introduced,then the main component of GCC compiler and the core technology of cross debugging are analyzed in detail. Conception of debugging agent is introduced based on the research of GDB cross debugger and Remote Serial Protocol.Two types of method achiving debugging agent technology are studied and analyzed. Finally, the paper focuses on how to port cross-compile toolkit and cross-debug toolkit into Windows operation system, and designing and realizing of the two types of debugging agent are accomplished.The cross debugger and cross complier in this thesis are two important development toolkits in the project of Yunnan Province Technology Hall. There are many problems in embedded system development fields, such as the real-time systems, distributed systems and SOC, which present many new reseach directions of cross compiling and cross debugging.For reasons of hugeness and high difficulty in realizing of the system, there are domains not reseached in cross-compile and cross-debug in this thesis.It is hoped that there are futher study in field mentioned above. |