diff options
| author | Conrad Meyer <cem@FreeBSD.org> | 2019-09-09 01:33:45 +0000 |
|---|---|---|
| committer | Conrad Meyer <cem@FreeBSD.org> | 2019-09-09 01:33:45 +0000 |
| commit | 3c40d3fc546aed3d1b0f639a1f67b46456e01edb (patch) | |
| tree | 412723198af8ba9639f052e97aa33854e8856122 /sys/ddb | |
| parent | 10f6c05ce7200aaeb0a279a8422db34727403429 (diff) | |
Notes
Diffstat (limited to 'sys/ddb')
| -rw-r--r-- | sys/ddb/db_command.h | 1 | ||||
| -rw-r--r-- | sys/ddb/db_run.c | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_command.h b/sys/ddb/db_command.h index 6178f6e274ba..2720ba65e3a6 100644 --- a/sys/ddb/db_command.h +++ b/sys/ddb/db_command.h @@ -49,6 +49,7 @@ void db_command_init(void); void db_command_loop(void); void db_command_script(const char *command); +extern int db_cmd_loop_done; extern db_addr_t db_dot; /* current location */ extern db_addr_t db_last_addr; /* last explicit address typed */ extern db_addr_t db_prev; /* last address examined diff --git a/sys/ddb/db_run.c b/sys/ddb/db_run.c index bf38a4d2f726..af99eb757609 100644 --- a/sys/ddb/db_run.c +++ b/sys/ddb/db_run.c @@ -48,8 +48,9 @@ __FBSDID("$FreeBSD$"); #include <vm/vm.h> #include <ddb/ddb.h> -#include <ddb/db_break.h> #include <ddb/db_access.h> +#include <ddb/db_break.h> +#include <ddb/db_command.h> #define STEP_ONCE 1 #define STEP_RETURN 2 @@ -332,8 +333,6 @@ db_clear_single_step(void) #endif /* SOFTWARE_SSTEP */ -extern int db_cmd_loop_done; - /* single-step */ /*ARGSUSED*/ void |
