next up previous contents index
Next: 10.18 Serial-line Remote Debugging Up: 10.17 Remote Kernel Debugging Previous: 10.17.10 gdb_set_trace_flag: enable or

10.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 10.17.2.



University of Utah Flux Research Group