diff options
author | jake <jake@FreeBSD.org> | 2002-12-31 18:30:53 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-12-31 18:30:53 +0000 |
commit | f1a17aa7f4b46931b6a4109ec823885c76d6b614 (patch) | |
tree | cb1e8e5233d2068fdd3faa923e40294ffbbbd7fb /sys/ddb | |
parent | edba43451786c581df1dd12ecf663a67cb2694e6 (diff) | |
download | FreeBSD-src-f1a17aa7f4b46931b6a4109ec823885c76d6b614.zip FreeBSD-src-f1a17aa7f4b46931b6a4109ec823885c76d6b614.tar.gz |
Revert previous and move the prototype for db_alt_break to ddb.h.
Requested by: bde (I think)
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_break.h | 8 | ||||
-rw-r--r-- | sys/ddb/ddb.h | 3 |
2 files changed, 4 insertions, 7 deletions
diff --git a/sys/ddb/db_break.h b/sys/ddb/db_break.h index ef43f68..d6ed76e 100644 --- a/sys/ddb/db_break.h +++ b/sys/ddb/db_break.h @@ -41,10 +41,8 @@ #define BKPT_INST_TYPE int #endif -struct vm_map; - struct db_breakpoint { - struct vm_map *map; /* in this map */ + vm_map_t map; /* in this map */ db_addr_t address; /* set here */ int init_count; /* number of times to skip bkpt */ int count; /* current count */ @@ -66,8 +64,4 @@ void db_set_breakpoints(void); db_breakpoint_t db_set_temp_breakpoint(db_addr_t); #endif -#ifdef ALT_BREAK_TO_DEBUGGER -int db_alt_break(int, int *); -#endif - #endif /* !_DDB_DB_BREAK_H_ */ diff --git a/sys/ddb/ddb.h b/sys/ddb/ddb.h index cd8839b..3124c6e 100644 --- a/sys/ddb/ddb.h +++ b/sys/ddb/ddb.h @@ -79,6 +79,9 @@ extern db_expr_t db_tab_stop_width; struct vm_map; +#ifdef ALT_BREAK_TO_DEBUGGER +int db_alt_break(int, int *); +#endif void db_check_interrupt(void); void db_clear_watchpoints(void); db_addr_t db_disasm(db_addr_t loc, boolean_t altfmt); |