--- Gnu-Mach/ddb/db_run.h 2020/09/02 04:36:57 1.1 +++ Gnu-Mach/ddb/db_run.h 2020/09/02 04:45:51 1.1.1.2 @@ -24,6 +24,9 @@ * the rights to redistribute these changes. */ +#include +#include + extern int db_run_mode; /* modes the system may be running in */ @@ -35,3 +38,31 @@ extern int db_run_mode; #define STEP_CONTINUE 4 #define STEP_INVISIBLE 5 #define STEP_COUNT 6 + +extern void db_single_step(db_regs_t *regs, task_t task); + +extern void db_single_step_cmd( + db_expr_t addr, + int have_addr, + db_expr_t count, + char *modif); + +void db_trace_until_call_cmd( + db_expr_t addr, + int have_addr, + db_expr_t count, + char * modif); + +void db_trace_until_matching_cmd( + db_expr_t addr, + int have_addr, + db_expr_t count, + char * modif); + +void db_continue_cmd( + db_expr_t addr, + int have_addr, + db_expr_t count, + char * modif); + +extern boolean_t db_in_single_step(void);