Research of Linux Kernel’s Software Debugging Technology

Author
HuYuanHui
Advisor
HuGuanRong
School
Huazhong University of Science and Technology
Major
Computer Applications
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
243
Citations
1

Request the full text

Abstract

In recently years,with the rapid development of the embedded technology,the embedded products can be found everywhere and Linux has been increasingly used. The ARM chip with the features of low power consumption and high performance, can be widely adopted in embedded Linux products. In order to develop product and establish the system software platform, system kernel debugging is a key supporting technology.After analyzing various software methods and technologies of kernel debugging, a software method is given to debug the ARM Linux kernel, transplanting the KGDB which is a kernel debugging tool to complete. The hardware platform uses the Intel Xscale PXA255.The KGDB transplanting includes:KGDB’s compilation and configuration which need modify the kernel’s compile and configure files according the KGDB’s functions and needs; the transplantation of initial module which realizes the communication module according the target board’s hardware characteristics, including the driver of UART, network and the communication interface, provides a KGDB console which can print the information of kernel, takeovers the related exceptions of the Linux kernel according need; the transplantation of the KGDB’s kernel function module which uses the method of undefined instructions according the ARM’s features to solute the problem of how to make the Linux become in debug state, and then realizes the basic debug commands regulated in the GDB remote serial communication protocol which is the favorable guarantee of KGDB’s powerful debugging function, and in order to complete debugging the kernel’s module, gives several methods to get the effective address information when the module is loading。Through transplanting the KGDB, can realize the ARM Linux kernel’s software debugging, and then support the Linux’s transplantation.

Table of contents

Abstract 4-5 Abstract 5-8 1 Introduction 8-15 1.1 subject background 8-9 1.2 Current Research 9-14 1.3 subject of research work 14-15 Linux kernel software debugging program 15-23 2.1 kernel software debugging method 15-18 2.2 software based on the ARM Linux kernel debug program 18-21 2.3 Summary 21-23 3 kernel debugging tools KGDB analysis 23-30 3.1 KGDB principle 23 3.2 KGDB debugging environment structures 23-27 3.3 KGDB patch functional modules analysis 27-29 3.4 Summary 29-30 4 KGDB compile configuration and initialization module transplantation 30-40 4.1 KGDB of is compiled configuration 30-31 4.2 initialization module transplantation 31-39 4.3 Summary 39-40 5 KGDB core control module transplantation 40-53 5.1 core control module of the overall structure of 40 5.2 debug state entry 40-42 5.3 debug command transplantation 42-50 5.4 kernel module debugging 50-52 5.5 Summary 52-53 6 Conclusion 53-55 6.1 research summary 53 6.2 further research 53-55 thank 55-56 References 56-59 Appendix 1 during the study for a degree of papers published catalog 59

Related dissertations

  1. Analysis and Design of Debugging Technology in Embedded System
    HuangHongYan ·Zhejiang University ·2006 ·Master's thesis
  2. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  3. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  4. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  5. Video Surveillance System Based on Embedded Technology Research
  6. Design of Video Monitoring System Based on the Embedded
  7. The Design of Embedded Network Video Surveillance System Based on ARM9
  8. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  9. Design of Video Surveillance Software Based on Ti Dm6446Processor
    YuanWei ·Zhejiang University of Technology ·2013 ·Master's thesis
  10. Data Acquisition System of Cavern Based on Embedded Web Server
  11. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  12. Research on the Indoor Air Monitoring System Based on Embedded Linux
  13. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  14. Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
  15. Research on Meteorological Data Acquisition and Processing System
    ZhaoSheng ·Wuhan University of Technology ·2013 ·Master's thesis
  16. The Research of the Design and Application for Embedded Remote Terminal Unit
    XiaRui ·Northeastern University ·2013 ·Master's thesis
  17. Design and Implementation of Magnetic Card Detection System Based on Embedded System
  18. Design of distributed control system based on embedded platform
    JieZhouKai ·Xi'an Optics and Fine Mechanics ·2010 ·Master's thesis
  19. Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
    LiShun ·Northeastern University ·2012 ·Master's thesis
  20. The Research of CANopen Protocol Based on Embedded Systems