Debugging Embedded Devices Using GDB
Offered By: Linux Foundation via YouTube
Course Description
Overview
Learn how to effectively debug embedded devices using GDB in this comprehensive tutorial presented by Chris Simmonds from 2net Ltd. Explore the intricacies of native and cross-compilation, discover how to obtain and utilize toolchains, and gain hands-on experience with the Raspberry Pi 3B. Delve into remote debugging techniques, master the art of setting breakpoints and controlling execution, and learn to display and manipulate variables. Understand the power of GDB command files and custom commands, and explore graphical front-ends like DDD. Gain insights into advanced debugging concepts such as watchpoints, stack frames, and backtracing. By the end of this 1 hour and 36 minute session, acquire the skills necessary to efficiently troubleshoot and optimize embedded systems using GDB.
Syllabus
Intro
License
Objectives
Resources
The Raspberry Pi 3B
Native vs cross compiling
Getting a toolchain
Toolchain prefix for 32-bit ARM toolchains
Toolchain sysroot
The Yocto Project SDK
Finding the sysroot of a Yocto Project tool
The tools
Demo time (1)
Preparing to debug 1/2
Remote debugging
Setting sysroot
Command-line debugging Development host
Breakpoints Add a breakpoint
Controlling execution
Displaying and changing variables
GDB command files
Defining a new command
DDD: Data Display Debugger
Other front ends for GDB
watchpoints Break when a variable changes
stack frames and back trace Each function has a stack frame which contains the local (auto) variables
Taught by
Linux Foundation
Tags
Related Courses
Breaking the Teeth of Bluetooth PadlocksYouTube Closing Keynote Lectures or Life Experiences Awareness Training that Works
YouTube Do You Want Educated Users Because This is How You Get Educated Users
YouTube Don't Blame That Checklist for Your Crappy Security Program
YouTube Managing Your MSSP
YouTube