Debugging Embedded Devices Using GDB

Debugging Embedded Devices Using GDB

Linux Foundation via YouTube Direct link

Native vs cross compiling

6 of 26

6 of 26

Native vs cross compiling

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Debugging Embedded Devices Using GDB

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 License
  3. 3 Objectives
  4. 4 Resources
  5. 5 The Raspberry Pi 3B
  6. 6 Native vs cross compiling
  7. 7 Getting a toolchain
  8. 8 Toolchain prefix for 32-bit ARM toolchains
  9. 9 Toolchain sysroot
  10. 10 The Yocto Project SDK
  11. 11 Finding the sysroot of a Yocto Project tool
  12. 12 The tools
  13. 13 Demo time (1)
  14. 14 Preparing to debug 1/2
  15. 15 Remote debugging
  16. 16 Setting sysroot
  17. 17 Command-line debugging Development host
  18. 18 Breakpoints Add a breakpoint
  19. 19 Controlling execution
  20. 20 Displaying and changing variables
  21. 21 GDB command files
  22. 22 Defining a new command
  23. 23 DDD: Data Display Debugger
  24. 24 Other front ends for GDB
  25. 25 watchpoints Break when a variable changes
  26. 26 stack frames and back trace Each function has a stack frame which contains the local (auto) variables

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.