summaryrefslogtreecommitdiffstats
path: root/sys/ddb/ddb.h
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>2000-01-11 14:54:01 +0000
committeryokota <yokota@FreeBSD.org>2000-01-11 14:54:01 +0000
commit715966bf8adb1f06117b0690700bed09936230f4 (patch)
tree43bfbc350096f38a69febf5012643dcc32e4077e /sys/ddb/ddb.h
parentddf2890cdfae4bd1cd3a719341689d029d64b580 (diff)
downloadFreeBSD-src-715966bf8adb1f06117b0690700bed09936230f4.zip
FreeBSD-src-715966bf8adb1f06117b0690700bed09936230f4.tar.gz
Add a new mechanism, cndbctl(), to tell the console driver that
ddb is entered. Don't refer to `in_Debugger' to see if we are in the debugger. (The variable used to be static in Debugger() and wasn't updated if ddb is entered via traps and panic anyway.) - Don't refer to `in_Debugger'. - Add `db_active' to i386/i386/db_interface.d (as in alpha/alpha/db_interface.c). - Remove cnpollc() stub from ddb/db_input.c. - Add the dbctl function to syscons, pcvt, and sio. (The function for pcvt and sio is noop at the moment.) Jointly developed by: bde and me (The final version was tweaked by me and not reviewed by bde. Thus, if there is any error in this commit, that is entirely of mine, not his.) Some changes were obtained from: NetBSD
Diffstat (limited to 'sys/ddb/ddb.h')
-rw-r--r--sys/ddb/ddb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ddb/ddb.h b/sys/ddb/ddb.h
index 46fb2b5..972772f 100644
--- a/sys/ddb/ddb.h
+++ b/sys/ddb/ddb.h
@@ -67,9 +67,11 @@ func_name(addr, have_addr, count, modif) \
extern char *esym;
extern db_expr_t db_maxoff;
+extern int db_active;
extern int db_indent;
extern int db_inst_count;
extern int db_load_count;
+extern int debugger_on_panic;
extern int db_store_count;
extern db_expr_t db_radix;
extern db_expr_t db_max_width;
@@ -77,7 +79,6 @@ extern db_expr_t db_tab_stop_width;
struct vm_map;
-void cnpollc __P((int));
void db_check_interrupt __P((void));
void db_clear_watchpoints __P((void));
db_addr_t db_disasm __P((db_addr_t loc, boolean_t altfmt));
OpenPOWER on IntegriCloud