summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_run.c11
-rw-r--r--ddb/db_run.h11
2 files changed, 11 insertions, 11 deletions
diff --git a/ddb/db_run.c b/ddb/db_run.c
index f528b39..acd5586 100644
--- a/ddb/db_run.c
+++ b/ddb/db_run.c
@@ -59,17 +59,6 @@ int db_last_inst_count;
int db_load_count;
int db_store_count;
-#ifndef db_set_single_step
-void db_set_task_single_step(/* db_regs_t *, task_t */);/* forward */
-#else
-#define db_set_task_single_step(regs,task) db_set_single_step(regs)
-#endif
-#ifndef db_clear_single_step
-void db_clear_task_single_step(/* db_regs_t *, task_t */);
-#else
-#define db_clear_task_single_step(regs,task) db_clear_single_step(regs)
-#endif
-
boolean_t
db_stop_at_pc(is_breakpoint, task)
boolean_t *is_breakpoint;
diff --git a/ddb/db_run.h b/ddb/db_run.h
index ee6e6f5..241852f 100644
--- a/ddb/db_run.h
+++ b/ddb/db_run.h
@@ -68,6 +68,17 @@ void db_continue_cmd(
db_expr_t count,
char * modif);
+#ifndef db_set_single_step
+void db_set_task_single_step(db_regs_t *, task_t);
+#else
+#define db_set_task_single_step(regs, task) db_set_single_step(regs)
+#endif
+#ifndef db_clear_single_step
+void db_clear_task_single_step(db_regs_t *, task_t);
+#else
+#define db_clear_task_single_step(regs, task) db_clear_single_step(regs)
+#endif
+
extern boolean_t db_in_single_step(void);
#endif /* _DDB_DB_RUN_H_ */