[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 12/68] ddb/db_trap.c: remove forward declarations
From: |
Marin Ramesa |
Subject: |
[PATCH 12/68] ddb/db_trap.c: remove forward declarations |
Date: |
Fri, 29 Nov 2013 22:53:37 +0100 |
* 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.
---
ddb/db_run.h | 10 ++++++++++
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;
--
1.8.1.4
- [PATCH 05/68] ddb/db_run.c: add comment after endif, (continued)
- [PATCH 05/68] ddb/db_run.c: add comment after endif, Marin Ramesa, 2013/11/29
- [PATCH 02/68] ddb/db_input.c: add comment after endif, Marin Ramesa, 2013/11/29
- [PATCH 04/68] ddb/db_output.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 03/68] ddb/db_mp.c: add comment after else and endif, Marin Ramesa, 2013/11/29
- [PATCH 07/68] ddb: new header file db_aout.h, Marin Ramesa, 2013/11/29
- [PATCH 06/68] ddb/db_aout.c: trivial stylistic fix for consistency, Marin Ramesa, 2013/11/29
- [PATCH 09/68] ddb/db_sym.c: fix argument list, Marin Ramesa, 2013/11/29
- [PATCH 08/68] ddb/db_sym.c: remove useless forward declarations without definitions, Marin Ramesa, 2013/11/29
- [PATCH 10/68] ddb/db_command.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 11/68] ddb/db_command.c: remove useless forward declaration without definition, Marin Ramesa, 2013/11/29
- [PATCH 12/68] ddb/db_trap.c: remove forward declarations,
Marin Ramesa <=
- [PATCH 13/68] ddb/db_variables.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 14/68] device/device_init.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 15/68] i386/i386/db_trace.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 16/68] i386/i386/fpu.c, trap.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 17/68] i386/i386/fpu.c: remove (#if 1), Marin Ramesa, 2013/11/29
- [PATCH 18/68] i386/i386/io_perm.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 19/68] i386/i386/ldt.c: remove useless forward declaration without definition, Marin Ramesa, 2013/11/29