Font Size: a A A

Based On Dual-core Debugger In Gdb

Posted on:2011-04-11Degree:MasterType:Thesis
Country:ChinaCandidate:D M PengFull Text:PDF
GTID:2208360308466480Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Debugger is a critical tool for the system development. It allows program developers to see what is going on"inside"a program while it executes or what a program was doing at the moment is crashed. With the rapid development of multi-core processors in the embedded area, a debugger who can debug the programs running on multi-core is urgent needed.In this thesis we analyze the structure and debugging principle of GDB. From the source of uClinux supporting multi-core, we discuss the task scheduling algorithm. Then we dwell on the principle of IPI of ADSP-BF561 processor from the manual. In the end, we design and implement a cross-debugger based on GDB under uClinux-BF561. It allows developers to debug the applications running on dual-core through a unified debugging interface. The major work we done are:1,The cross-debugger running on host. It is responsible for sending debugging command to the two processors and showing the debug information of debugged programs.2,DCRSP protocol. It defines the communication format between cross-debugger and debugging agent.3,The debugging agent running on target. It contains the agent running on A core and the agent running on the B core. They are some different. However, the main work of both A agent and B agent are the same to control the execution of debugged programs and return the debugging information to the host.4,The building of experiment environment. It includes bootloader transplanting, cross-compiling environment building and uClinux transplanting based on ADSP-BF561.
Keywords/Search Tags:uClinux-BF561, GDB, dual-core, debugging agent
PDF Full Text Request
Related items