gdb, the debugging tool
Contents|
Index|
Previous|
Next
gdb,
the debugging tool
To
run GDB on an embedded execution target, use a GDB backend with the GDB
standard remote protocol, or a similar protocol. The most common are the
following two types of GDB backend.
-
A GDB stub
-
This is an exception handler
for breakpoints, and it must be linked to your application. GDB stubs use
the GDB standard remote protocol.
-
An existing ROM monitor used
as a GDB backend
-
The most common approach means
using the following processes.
-
With a similar protocol to the
GDB standard remote protocol.
-
With an interface that uses
the ROM monitor directly. With such an interface, GDB only formats and
parses commands.
For debugging
routines for a project in process, see Useful
debugging routines.
For
more information on debugging tools, see Debugging
with GDB in GNUPro Debugging Tools.
Top|Contents|Index|Previous|Next