Embedded collaborative research and design debugging environment
- Author
- ZhangJinWei
- Advisor
- LeiHang
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 26
- Citations
- 0
Abstract
In recent years, with the popularity of embedded system, embedded software, especially the application software has developed rapidly. With the increasing complexity of processors and embedded system, the scale of embedded software is becoming ever larger. As an important part of embedded system development, the corss-debugging for embedded device are becoming more complicated. That how to improve the cross-debugging technology and the efficienty of embedded software development has become an urgent problem.Because of Linux dominating the embedded operating system field, the Unix/Linux standard debugger GDB (GNU Debugger) has become the first choice of debugging tools for the majority of embedded system developers. In case of the complexity of debugging current embedded software, a design model of collaborative debugging environment (CDE) for embedded system has been put forward, which has achieved the function of muti-hosts synchronous display when a single host is debugging, this make the development team memebers in different locations could synchronously debug the same inferior through the collaborative debugging environment, and also achieve the goal of improving debugging efficiency under the collaboration of team members.This dissertation has firstly analyzied the implementation mechanizms for GDB remote debugging, the parallel debugger implementation model for muti-task debugging, and the method of integrating GDB into large-scale software system through MI interface, therefore the basic framework of collaborative debugging environment (CDE) has been put forward.. On this basis, through improving the GDB event mechanism, the dissertation has eliminated the possibility of interruption by parallel events when the frontend of CDE is executing the debugging instructions. To meet the requirement of synchronous debugging, a kind of data transmitting and data synchronizing technology has been put forward, which has implemented the function of synchronizing the debugging results in all hosts in the collaborative debugging team during the host with priotity is operating the debugging process. The uncertainty of parallel instruction arrival time in CDE server could result in conflicts between instructions. To solve the problem, a kind of transaction mechanism to serialize the instructions has been proposed, which has ensured the complete executing of evey instruction.At the end of the dissertation, a specific design for frontend, server side and debug daemon on remote target of CDE under Linux OS has been put forward, which has implemented the function of synchronous debugging and has also ensured that the checking operation of hosts without priority would not disturb the synchronous debugging process.
Table of contents
Abstract 4-5
ABSTRACT 5-9
Chapter Introduction 9-14
1.1 research background and significance 9 -10
1.2 research status 10-12
1.2.1 embedded debug technology 10-11
1.2.2 GDB-based debugger nbsp cross ; 11-12
1.2.3 debugging parallel debugging and collaboration 12
1.3 main job 12-13
1.4 this organizational structure 13 -14
Chapter embedded collaborative debugging related technology research 14-42
2.1 GDB debugger architecture and principle 14-24
2.1.1 GDB Introduction 14-15
2.1.2 GDB architecture analysis 15-17
2.1.3 GDB debugging principle 17-24
2.2 GDB remote debugging techniques 24-34
2.2.1 remote Debugging Introduction 24-25
2.2.2 RSP remote serial protocol 25-27
2.2.3 GDB remote debugging implementation mechanism 27-34
2.3 GDB / MI Interface 34-37
2.3.1 GDB / MI Interface Overview 34 < br /> 2.3.2 GDB / MI command 34-37
2.4 GDB-based parallel debugging techniques 37-41
2.4.1 parallel Debug Information 37
2.4.2 parallel debugger infrastructure 37-39
2.4.3 debugging parallel implementation mechanism 39-40
2.4.4 parallel debugging replay achieve 40-41
2.5 Summary 41-42
Chapter embedded collaborative debugging environment key technologies 42-50
3.1 collaborative debugging background 42
3.2 collaborative debugging problems to be solved 42-43
3.3 debugging environment for collaborative design principles 43-44
3.4 user front-end improved event handling mechanism 44-46
3.5 priority-based data forwarding and synchronization technology 46-47
3.6 concurrent transaction processing instruction techniques 47 -48
3.7 Summary 48-50
Chapter embedded design and implementation of collaborative debugging environment 50-73
4.1 collaborative debugging environment Introduction 50-51
4.2 collaborative debugging environment infrastructure 51-52
4.3 collaborative debugging environment user front-end design 52-58
4.3.1 user front end infrastructure 53-54
4.3.2 user front-end command specification 54-56
4.3.3 user front-end execution flow 56-58 <br / > 4.4 server-side debugging environment collaborative design 58-69
4.4.1 collaborative debugging environment startup process 58-59
4.4.2 server cooplat basic architecture of the platform 59-60
4.4.3 server cooplat platform specific implementation 60-69
4.5 collaborative debugging environment to achieve the target -side 69-72 <br / > 4.5.1 target -side daemon operating mechanism 70-71
4.5.2 target -side daemon implementation technology 71-72
4.6 Summary 72-73
Chapter V system testing and validation 73-79
5.1 collaborative debugging environment configuration 73-74
5.2 system functional test 74-77
5.3 system Performance Testing 77-78
5.4 Summary 78-79
Chapter VI Conclusion 79-81 <br / > 6.1 Summary 79
6.2 Prospects 79-81
Thanks 81-82
References 82-84
Related dissertations
- Research on Road and Bus of Urban-Rural in the Yangtze River Delta Region
- Analysis of the Priority of Rural Residential Land Consolidation in Houma City
- The Research of Concurrent Priority Control and Authorization Based on Usage Control
- Study of partial differential equations and the image restoration algorithm based on texture synthesis
- Research of Hadoop Job Scheduling Based on Priority and Reliability in Cloud Computing Environment
- The Research and Implementation of Adaptive Storage Strategy in Hybrid Storage System
- Research on Relay Selection in Wireless Cooperative Networks
- Research on the Spectrum Allocation of Cognitive Radio Based on Fairness
- Wireless sensor network congestion control based on dynamic priority node
- A Congestion Control Mechanism for Wireless Streaming Media Applications
- The Energy Efficiency Optimization in MAC Protocol of Wireless Body Area Network Based on the Priority and the Sleep Mechanism
- The Theory of Construction Project Priority
- On the Improvement of Chinese Lfoating Charge
- First Receives by the Construction Project Cost Recompenses the Power
- Research on Model Based System Engineering Methodology for Control Systems
- Research on the Multi-task Scheduling for the Process Control System of the Single Stand Reversible Cold Rolling Mill
- Reliability Analysis of a Repairable System with a Warm Standby Unit and Repairman Vacation
- Reliability Analysis of Three Components Standby System
- Research on the Order of Priority of the Rural Pubjlic Goods in Jilin City
- The Priority Order of the Government Provision of Rural Public Goods Based on the Comparison between Urban and Rural