next up previous contents index
Next: 13.18 Serial-line Remote Debugging Up: 13.17 Remote Kernel Debugging Previous: 13.17.10 gdb_set_trace_flag: enable or

13.17.11 gdb_breakpoint: macro to generate a manual instruction breakpoint

   

SYNOPSIS

#include <oskit/gdb.h>

void gdb_breakpoint(void);

DESCRIPTION

This is simply an architecture-specific macro which causes an instruction causing a breakpoint trap to be emitted at the corresponding location in the current function. This macro can be used to set ``manual breakpoints'' in program code, as well as to give control to the debugger at the very beginning of program execution as described in Section 13.17.2.



Utah Flux Research Group