Back To Schedule
Monday, October 26 • 14:15 - 16:05
Tutorial: Debugging Embedded Devices using GDB - Chris Simmonds, 2net Ltd

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Bugs happen. Identifying and fixing them is part of the development process. This tutorial demonstrates one of the key tools in the embedded Linux developer’s toolbox: the GNU Debugger, GDB. You will begin by using GDB to debug a program running on a target device. You will learn about debug symbols: how build them into programs and libraries, and the places that GDB will go looking for them. Next, you will perform basic debugging tasks, including setting breakpoints, stepping through code, examining variables and modifying variables. After that you will lean about GDB command files and how they can help you by automating certain tasks. You will receive a handy GDB cribsheet to help you with all of this. If time allows, we will discuss how to use GDB to analyse core dumps so that you can perform a post-mortem on a crashed program.

avatar for Chris Simmonds

Chris Simmonds

Trainer and consultant, 2net
Chris Simmonds is a software consultant and trainer living in southern England. He has two decades of experience in designing and building open-source embedded systems. He is the founder and chief consultant at 2net Ltd, which provides professional training and mentoring services... Read More →

Monday October 26, 2020 14:15 - 16:05 GMT
101 Essentials Theater
  101 Essentials - Embedded Linux, GDB Debugging