123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- #ifndef _DDB_DB_VAR_H_
- #define _DDB_DB_VAR_H_
- #ifndef DB_HISTORY_SIZE
- #define DB_HISTORY_SIZE 4000
- #endif
- #define DBCTL_RADIX 1
- #define DBCTL_MAXWIDTH 2
- #define DBCTL_MAXLINE 3
- #define DBCTL_TABSTOP 4
- #define DBCTL_PANIC 5
- #define DBCTL_CONSOLE 6
- #define DBCTL_LOG 7
- #define DBCTL_TRIGGER 8
- #define DBCTL_MAXID 9
- #define CTL_DDB_NAMES { \
- { NULL, 0 }, \
- { "radix", CTLTYPE_INT }, \
- { "max_width", CTLTYPE_INT }, \
- { "max_line", CTLTYPE_INT }, \
- { "tab_stop_width", CTLTYPE_INT },\
- { "panic", CTLTYPE_INT }, \
- { "console", CTLTYPE_INT }, \
- { "log", CTLTYPE_INT }, \
- { "trigger", CTLTYPE_INT }, \
- }
- #ifdef _KERNEL
- extern int db_radix;
- extern int db_max_width;
- extern int db_tab_stop_width;
- extern int db_max_line;
- extern int db_panic;
- extern int db_console;
- extern int db_log;
- extern int db_is_active;
- int ddb_sysctl(int *, u_int, void *, size_t *, void *, size_t,
- struct proc *);
- #endif
- #endif
|