The SOC chip GNU debugger - based expansion
- Author
- ZuoXiaoMing
- Advisor
- WuYue , DongXiang
- School
- University of Electronic Science and Technology
- Major
- Computer technology
- Classification
- TP368.11 Microprocessor
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 73
- Citations
- 0
Abstract
Application development for a specific DSP chip with the embedded systems industry continues to develop, more and more attention in the software industry. Embedded systems industry, chip SOC (System on Chip) plays a very important role in the SOC chip known for its high-performance, low-cost, low-power, today's SOC chip has been widely used in mobile phones, digital cameras, digital television and other digital products. Datang Telecom virtue of the ZSP400 core SOC chip COMIP of success on the market, Datang Telecom to strengthen ZSP540 nuclear SOC chip DSP processing power, so that a broader range of uses 3G wireless. To cope with the company more quickly promote COMIP chips, market share, we need as soon as possible for the new chip supporting scalable development and debug tool chain. Set of development and debugging tool chain developers can rapidly develop embedded applications in the new SOC chip. Related commercial products are very expensive and not conducive to expansion. Therefore, how the new instruction set of the new chip to develop a scalable, easy-to-use embedded system development tool chain, we need to solve a problem. This paper is the response to these problems, in-depth analysis of the GNU debugger code, optimizing, and self-developed SOC chip tuning, with the tool chain to develop a set of powerful, facilitate the use of embedded systems debugger. The focus of this article is how to GDB tool chain ported to our new SOC chip up the promotion of the new SOC chip, which can quickly auxiliary. In this paper, the Datang Telecom R \u0026 D SOC chip COMIP of example, mainly for GNU family of tools does not support ZSP400/ZSP540 of brand new instruction set for transplant and extended GDB discussed in detail the various parts of the tool chain transplant . Firstly entire industry background and software requirements, analysis the debugger related concepts as well as the general principles of software debugging, and then depth expansion and transplantation GDB some of the work done, first introduced in this part of the code structure of the GDB , the focus of transplant-related realization of the principle of the GDB target machine architecture are discussed next steps and focus of the transplant GNU library (BFD, OpCodes on), and analyzed how these libraries GDB needs some processor, and then realized the difficulties in the entire extended migration process - instruction-level simulator based on the new processor's instruction set. Then the paper analyzes the the GDB code itself is extended to a number of key points on the new ZSP processor, and ultimately a scalable embedded systems based on the new chip debugger, and finally the entire code expansion transplant work-related summary.
Table of contents
Abstract 4-5
ABSTRACT 5-10
The first chapter 10-13
1.1 SOC chip 10-12
1.1.1 SOC chip before 10
1.1.2 Datang Telecom SOC chip 10-11
1.1.3 Target DSP chip Overview 11-12
1.2 debugger supporting software 12
1.3 GDB 12-13
Chapter GNU debugger works 13-20
2.1 basic concepts related 13-18
2.1.1 executable file 13-14
2.1.2 symbol table 14
2.1.3 Debug Information Format 14-17
2.1.4 string table 17
2.1.5 Cross-process data read and write mechanism 17
2.1.6 breakpoint achieve 17-18
2.2 GUI debugger design 18-19
2.3 Summary 19-20
Chapter GNU debugger transplantation and expansion work 20-80
3.1 GNU Debugger Architecture Analysis 20-24
3.1.1 GNU Debugger Overview 20
3.1.2 GDB code system analysis 20-23
3.1.3 GNU associated libraries introduced 23
3.1.4 target processor features introduced 23-24
3.2 GNU tool chain migration and development steps 24-25
3.3 BFD library transplant 25-29
3.3.1 BFD library structure 25
3.3.2 BFD library key code and transplantation 25-29
3.3.3 Summary 29
3.4 OPCODES library transplant 29-36
3.4.1 Instruction Set classification 29
3.4.2 related transplantation to achieve 29-35
3.4.3 processor and instruction set features 35-36
3.4.4 Summary 36
3.5 new processor instruction-level simulator to achieve 36-53
3.5.1 processor simulator classification 36-37
3.5.2 instruction-level simulator features 37-38
3.5.3 instruction-level simulator to achieve 38-52
3.5.4 Summary 52-53
3.6 Gdb own migration and expansion 53-72
3.6.1 related work 53
3.6.2 GDB transplant key 53-54
3.6.3 Gdbarch transplant 54-65
3.6.4 GDB frame transplant 65-71
3.6.5 Summary 71-72
3.7 GDBSERVER transplant 72-80
3.7.1 Gdbserver concept 72
3.7.2 RSP agreement 72-73
3.7.3 Gdbserver transplant key 73-77
3.7.4 Gdbserver workflow 77-79
3.7.5 Summary 79-80
Chapter IV Conclusion and Outlook 80-81
Thanks 81-82
References 82-84
Related dissertations
- Research and Implementation of Ethernet Link Failure Detection
- Design and Implementation of BFD Protocol Software in a Centralized Routing Architecture
- The Implementation of BFD Technology for H-VPLS Network
- The Research of Mpls-Tp Oam Solution Based on BFD
- Implementation and test of multi core based on BFD protocol
- Analysis of Bidirectional Forwarding Detection
- DSP microprocessor instruction-level simulator developed
- Research and Application of OBS Routing Protocols
- Research and Development of Assembler and Linker Based on GNU Binutils
- BFD-based MPLS network fault recovery technology research and implementation
- The Research and Implementation on the Fault Detection and Recovery of BFD-based MPLS Tunnel
- Research on Fault Detection and Recovery Scheme of MPLS-Based Network
- Research and Implementation of Meteorologic Information Transfer Policy Based on Multiple Links
- Research and Application of MPLS VPN Based on QoS
- Research and Realization of VPLS-based L2VPN Technology
- Research on Control Plane of LOBS/GMPLS Inter-Working Networks
- Study on Business-Integration Communications in an IP Bearing Network
- Research and Implementation of IP Fast Rerouting Mechanism Based on OSPF Routing Protocol