O'Reilly logo

Linux for Embedded and Real-time Applications, 3rd Edition by Doug Abbott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8

Debugging Embedded Software

If debugging is the process of removing bugs, then programming must be the process of putting them in.

Edsger W. Dijkstra

In Chapter 6, you saw how Eclipse integrates very nicely with the Gnu Debugger, GDB. In this chapter, we’ll look at additional features of GDB and explore how to use GDB on our target board. We’ll also consider a simple approach to high-level simulation that can be useful in the early stages of development.

Remote Debugging with Eclipse

In a typical desktop environment, the target program runs on the same machine as the debugger. But in our embedded environment Eclipse with GDB runs on the host workstation and the program being debugged runs on the ARM target. You can think of GDB as having ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required