diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-29 22:53:37 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-05 05:57:12 +0900 |
commit | c47bf59c3d75b77b6cd0f242ffb471fcfbf68e1b (patch) | |
tree | d9e7bc2d0737cef60f0eae6fa35ce59bea168378 /ddb | |
parent | 6fcb37ce15ab5c2d24f79c2430865db11082302b (diff) |
ddb/db_trap.c: remove forward declarations
* ddb/db_run.h (db_restart_at_pc, db_stop_at_pc): Add prototypes.
* ddb/db_trap.c (db_restart_at_pc, db_stop_at_pc): Remove forward declarations.
Include ddb/db_run.h.
Diffstat (limited to 'ddb')
-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; |