diff options
-rw-r--r-- | ddb/db_run.h | 10 | ||||
-rw-r--r-- | ddb/db_trap.c | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/ddb/db_run.h b/ddb/db_run.h index 241852f..0c55279 100644 --- a/ddb/db_run.h +++ b/ddb/db_run.h @@ -81,4 +81,14 @@ void db_clear_task_single_step(db_regs_t *, task_t); extern boolean_t db_in_single_step(void); +extern void +db_restart_at_pc( + boolean_t watchpt, + task_t task); + +extern boolean_t +db_stop_at_pc( + boolean_t *is_breakpoint, + task_t task); + #endif /* _DDB_DB_RUN_H_ */ diff --git a/ddb/db_trap.c b/ddb/db_trap.c index 8f59a36..d2abfbd 100644 --- a/ddb/db_trap.c +++ b/ddb/db_trap.c @@ -43,13 +43,11 @@ #include <ddb/db_output.h> #include <ddb/db_task_thread.h> #include <ddb/db_trap.h> +#include <ddb/db_run.h> extern jmp_buf_t *db_recover; -extern void db_restart_at_pc(); -extern boolean_t db_stop_at_pc(); - extern int db_inst_count; extern int db_load_count; extern int db_store_count; |