#include <oskit/gdb.h>void gdb_set_trace_flag(int trace_enable, [in/out] struct gdb_state *state);
This architecture-specific function merely modifies the specified processor state structure to enable or disable single-stepping according to the trace_enable parameter. On architectures that have some kind of trace flag, this function simply sets or clears that flag as appropriate. On other architectures, this behavior is achieved through other means. This function is called by machine-independent remote debugging stubs such as gdb_serial_signal before resuming execution of the subject program, according to whether the remote debugger requested that the program ``continue'' or ``step'' one instruction.
- trace_enable
- True if single-stepping should be enabled, or false otherwise.
- state
- The state frame to modify.