- About Us In theory, GDB, the GNU debugger, can ease the chore
of debugging applications running on a Linux-based embedded
system. In practice, setting up GDB for this task is a bit of a
challenge; it takes some work, and there are some technical
hurdles to overcome. However, the benefits of having a way to
methodically debug a program instead of guessing what's wrong
with it far outweigh the effort involved. Here are some tips for
easing the difficulties. Rather than run a full-blown instance
of GDB on the target platform, you can use GDBserver, a program
that lets you run GDB on a different machine than the one on
which your program is running. The advantage of using GDBserver
is that it needs just a fraction of the target resources that
GDB consumes, because it implements only the low-level
functionality of the debugger -- namely setting breakpoints and
accessing the target processor registers and read/write
application memory. GDBserver takes control of the application
being debugged, then waits for inst