ddb.h (fd32d93b97086acaf80526bbb55f735b35d074fb) | ddb.h (d39d4a6e6412f88225d1b78c8a797ab82daac250) |
---|---|
1/*- 2 * Copyright (c) 1993, Garrett A. Wollman. 3 * Copyright (c) 1993, University of Vermont and State Agricultural College. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 25 unchanged lines hidden (view full) --- 34 * Necessary declarations for the `ddb' kernel debugger. 35 */ 36 37#ifndef _DDB_DDB_H_ 38#define _DDB_DDB_H_ 39 40#include <machine/db_machdep.h> /* type definitions */ 41 | 1/*- 2 * Copyright (c) 1993, Garrett A. Wollman. 3 * Copyright (c) 1993, University of Vermont and State Agricultural College. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 25 unchanged lines hidden (view full) --- 34 * Necessary declarations for the `ddb' kernel debugger. 35 */ 36 37#ifndef _DDB_DDB_H_ 38#define _DDB_DDB_H_ 39 40#include <machine/db_machdep.h> /* type definitions */ 41 |
42#define DB_LINES_PER_PAGE 20 43 | |
44typedef void db_cmdfcn_t(db_expr_t addr, boolean_t have_addr, db_expr_t count, 45 char *modif); 46 47typedef void db_page_calloutfcn_t(void *arg); 48 49#define DB_COMMAND(cmd_name, func_name) \ 50 DB_SET(cmd_name, func_name, db_cmd_set, 0, NULL) 51#define DB_SHOW_COMMAND(cmd_name, func_name) \ --- 21 unchanged lines hidden (view full) --- 73extern int db_indent; 74extern int db_inst_count; 75extern int db_load_count; 76extern int debugger_on_panic; 77extern int db_store_count; 78extern db_expr_t db_radix; 79extern db_expr_t db_max_width; 80extern db_expr_t db_tab_stop_width; | 42typedef void db_cmdfcn_t(db_expr_t addr, boolean_t have_addr, db_expr_t count, 43 char *modif); 44 45typedef void db_page_calloutfcn_t(void *arg); 46 47#define DB_COMMAND(cmd_name, func_name) \ 48 DB_SET(cmd_name, func_name, db_cmd_set, 0, NULL) 49#define DB_SHOW_COMMAND(cmd_name, func_name) \ --- 21 unchanged lines hidden (view full) --- 71extern int db_indent; 72extern int db_inst_count; 73extern int db_load_count; 74extern int debugger_on_panic; 75extern int db_store_count; 76extern db_expr_t db_radix; 77extern db_expr_t db_max_width; 78extern db_expr_t db_tab_stop_width; |
79extern db_expr_t db_lines_per_page; |
|
81 82struct thread; 83struct vm_map; 84 85void db_check_interrupt(void); 86void db_clear_watchpoints(void); 87db_addr_t db_disasm(db_addr_t loc, boolean_t altfmt); 88 /* instruction disassembler */ --- 64 unchanged lines hidden --- | 80 81struct thread; 82struct vm_map; 83 84void db_check_interrupt(void); 85void db_clear_watchpoints(void); 86db_addr_t db_disasm(db_addr_t loc, boolean_t altfmt); 87 /* instruction disassembler */ --- 64 unchanged lines hidden --- |