/netbsd-src/sys/ddb/ |
H A D | db_interface.h | 40 void db_stack_trace_print(db_expr_t, bool, db_expr_t, const char *, 44 void db_kgdb_cmd(db_expr_t, bool, db_expr_t, const char *); 45 void db_show_files_cmd(db_expr_t, bool, db_expr_t, const char *); 46 void db_show_panic(db_expr_t, bool, db_expr_t, const char *); 49 void db_kill_proc(db_expr_t, bool, db_expr_t, const char *); 50 void db_show_proc(db_expr_t, bool, db_expr_t, const char *); 51 void db_show_all_procs(db_expr_t, bool, db_expr_t, const char *); 52 void db_show_all_pools(db_expr_t, bool, db_expr_t, const char *); 53 void db_show_sched_qs(db_expr_t, bool, db_expr_t, const char *); 56 void db_show_callout(db_expr_t, bool, db_expr_t, const char *); [all …]
|
H A D | db_command.c | 198 static void db_buf_print_cmd(db_expr_t, bool, db_expr_t, const char *); 199 static void db_event_print_cmd(db_expr_t, bool, db_expr_t, const char *); 200 static void db_fncall(db_expr_t, bool, db_expr_t, const char *); 201 static void db_help_print_cmd(db_expr_t, bool, db_expr_t, const char *); 202 static void db_lock_print_cmd(db_expr_t, bool, db_expr_t, const char *); 203 static void db_show_all_locks(db_expr_t, bool, db_expr_t, const char *); 204 static void db_show_all_tstiles(db_expr_t, bool, db_expr_t, const char *); 205 static void db_show_lockstats(db_expr_t, bool, db_expr_t, const char *); 206 static void db_show_all_freelists(db_expr_t, bool, db_expr_t, const char *); 207 static void db_mount_print_cmd(db_expr_t, bool, db_expr_t, const char *); [all …]
|
H A D | db_xxx.c | 84 db_kill_proc(db_expr_t addr, bool haddr, in db_kill_proc() 85 db_expr_t count, const char *modif) in db_kill_proc() 90 db_expr_t pid, sig; in db_kill_proc() 145 db_kgdb_cmd(db_expr_t addr, bool haddr, in db_kgdb_cmd() 146 db_expr_t count, const char *modif) in db_kgdb_cmd() 155 db_show_files_cmd(db_expr_t addr, bool haddr, in db_show_files_cmd() 156 db_expr_t count, const char *modif) in db_show_files_cmd() 205 db_show_aio_jobs(db_expr_t addr, bool haddr, in db_show_aio_jobs() 206 db_expr_t count, const char *modif) in db_show_aio_jobs() 215 db_show_mqueue_cmd(db_expr_t addr, bool haddr, in db_show_mqueue_cmd() [all …]
|
H A D | db_expr.c | 40 static bool db_term(db_expr_t *); 41 static bool db_unary(db_expr_t *); 42 static bool db_mult_expr(db_expr_t *); 43 static bool db_add_expr(db_expr_t *); 44 static bool db_shift_expr(db_expr_t *); 47 db_term(db_expr_t *valuep) in db_term() 54 db_expr_t v = 0; in db_term() 71 *valuep = (db_expr_t)v; in db_term() 76 *valuep = (db_expr_t)db_tok_number; in db_term() 80 *valuep = (db_expr_t)db_dot; in db_term() [all …]
|
H A D | db_extern.h | 43 void db_examine_cmd(db_expr_t, bool, db_expr_t, const char *); 44 void db_print_cmd(db_expr_t, bool, db_expr_t, const char *); 46 void db_search_cmd(db_expr_t, bool, db_expr_t, const char *); 49 int db_expression(db_expr_t *); 56 void db_show_regs(db_expr_t, bool, db_expr_t, const char *); 63 void db_write_cmd(db_expr_t, bool, db_expr_t, const char *);
|
H A D | db_access.c | 58 db_expr_t 61 char data[sizeof(db_expr_t)] __aligned(sizeof(db_expr_t)); in db_get_value() 63 db_expr_t value; in db_get_value() 76 value = (db_expr_t)uvalue; in db_get_value() 78 if (size < sizeof(db_expr_t) && is_signed in db_get_value() 79 && (value & ((db_expr_t)1 << (8*size - 1)))) { in db_get_value() 80 value |= (unsigned long)~(db_expr_t)0 << (8*size - 1); in db_get_value() 106 db_put_value(db_addr_t addr, size_t size, db_expr_t value) in db_put_value() 108 char data[sizeof(db_expr_t)] __aligned(sizeof(db_expr_t)); in db_put_value() 131 db_expr_t val; in db_read_ptr() [all …]
|
H A D | db_run.h | 51 void db_single_step_cmd(db_expr_t, bool, db_expr_t, const char *); 52 void db_trace_until_call_cmd(db_expr_t, bool, db_expr_t, const char *); 53 void db_trace_until_matching_cmd(db_expr_t, bool, db_expr_t, const char *); 54 void db_continue_cmd(db_expr_t, bool, db_expr_t, const char *);
|
H A D | db_variables.h | 42 int (*fcn)(const struct db_variable *, db_expr_t *, int); 47 #define FCN_NULL ((int (*)(const struct db_variable *, db_expr_t *, int))0) 54 int db_get_variable(db_expr_t *); 55 int db_set_variable(db_expr_t); 56 void db_read_variable(const struct db_variable *, db_expr_t *); 57 void db_write_variable(const struct db_variable *, db_expr_t *); 58 void db_set_cmd(db_expr_t, bool, db_expr_t, const char *);
|
H A D | db_examine.c | 45 static void db_search(db_addr_t, int, db_expr_t, db_expr_t, unsigned int); 57 db_examine_cmd(db_expr_t addr, bool have_addr, db_expr_t count, in db_examine_cmd() 240 db_print_cmd(db_expr_t addr, bool have_addr, db_expr_t count, in db_print_cmd() 243 db_expr_t value; in db_print_cmd() 306 db_search_cmd(db_expr_t daddr, bool have_addr, in db_search_cmd() 307 db_expr_t dcount, const char *modif) in db_search_cmd() 312 db_expr_t value; in db_search_cmd() 313 db_expr_t mask; in db_search_cmd() 314 db_expr_t count; in db_search_cmd() 372 db_search(db_addr_t addr, int size, db_expr_t value, db_expr_t mask, in db_search()
|
H A D | db_sym.h | 75 db_expr_t *); 77 db_expr_t *); 79 int *, db_expr_t); 94 bool db_value_of_name(const char *, db_expr_t *); 100 db_sym_t db_search_symbol(db_addr_t, db_strategy_t, db_expr_t *); 103 void db_symbol_values(db_sym_t, const char **, db_expr_t *); 114 void db_symstr(char *, size_t, db_expr_t, db_strategy_t); 115 void db_printsym(db_expr_t, db_strategy_t,
|
H A D | db_break.h | 48 db_expr_t bkpt_inst; /* saved instruction at bkpt */ 55 void db_delete_cmd(db_expr_t, bool, db_expr_t, const char *); 56 void db_breakpoint_cmd(db_expr_t, bool, db_expr_t, const char *); 57 void db_listbreak_cmd(db_expr_t, bool, db_expr_t, const char *);
|
H A D | db_variables.c | 79 static int db_rw_internal_variable(const struct db_variable *, db_expr_t *, 152 db_rw_internal_variable(const struct db_variable *vp, db_expr_t *valp, int rw) in db_rw_internal_variable() 268 db_get_variable(db_expr_t *valuep) in db_get_variable() 281 db_set_variable(db_expr_t value) in db_set_variable() 295 db_read_variable(const struct db_variable *vp, db_expr_t *valuep) in db_read_variable() 297 int (*func)(const struct db_variable *, db_expr_t *, int) = vp->fcn; in db_read_variable() 300 *valuep = *(db_expr_t *)vp->valuep; in db_read_variable() 306 db_write_variable(const struct db_variable *vp, db_expr_t *valuep) in db_write_variable() 308 int (*func)(const struct db_variable *, db_expr_t *, int) = vp->fcn; in db_write_variable() 311 *(db_expr_t *)vp->valuep = *valuep; in db_write_variable() [all …]
|
/netbsd-src/sys/arch/ia64/ia64/ |
H A D | db_interface.c | 114 static void db_show_vector(db_expr_t, bool, db_expr_t, const char *); 126 db_frame(const struct db_variable *vp, db_expr_t *valuep, int opcode) in db_frame() 152 db_getip(const struct db_variable *vp, db_expr_t *valuep, int opcode) in db_getip() 186 db_getrse(const struct db_variable *vp, db_expr_t *valuep, int opcode) in db_getrse() 224 #define DB_OFFSET(x) (db_expr_t *)offsetof(struct trapframe, x) 269 {"r32", (db_expr_t*)0, db_getrse}, 270 {"r33", (db_expr_t*)1, db_getrse}, 271 {"r34", (db_expr_t*)2, db_getrse}, 272 {"r35", (db_expr_t*)3, db_getrse}, 273 {"r36", (db_expr_t*)4, db_getrse}, [all …]
|
/netbsd-src/sys/arch/powerpc/powerpc/ |
H A D | db_interface.c | 78 static void db_show_bat(db_expr_t, bool, db_expr_t, const char *); 79 static void db_show_mmu(db_expr_t, bool, db_expr_t, const char *); 82 static void db_ppc4xx_ctx(db_expr_t, bool, db_expr_t, const char *); 83 static void db_ppc4xx_pv(db_expr_t, bool, db_expr_t, const char *); 84 static void db_ppc4xx_reset(db_expr_t, bool, db_expr_t, cons [all...] |
/netbsd-src/sys/arch/sparc64/sparc64/ |
H A D | db_interface.c | 103 void db_prom_cmd(db_expr_t, bool, db_expr_t, const char *); 104 void db_lwp_cmd(db_expr_t, bool, db_expr_t, const char *); 105 void db_proc_cmd(db_expr_t, bool, db_expr_t, const char *); 106 void db_ctx_cmd(db_expr_t, bool, db_expr_t, const char *); 107 void db_dump_pcb(db_expr_t, bool, db_expr_t, const char *); 108 void db_dump_pv(db_expr_t, bool, db_expr_t, const char *); 109 void db_setpcb(db_expr_t, bool, db_expr_t, const char *); 110 void db_dump_dtlb(db_expr_t, bool, db_expr_t, const char *); 111 void db_dump_itlb(db_expr_t, bool, db_expr_t, const char *); 112 void db_dump_dtsb(db_expr_t, bool, db_expr_t, const char *); [all …]
|
/netbsd-src/sys/arch/sun2/sun2/ |
H A D | db_machdep.c | 55 static void db_mach_abort (db_expr_t, bool, db_expr_t, const char *); 56 static void db_mach_halt (db_expr_t, bool, db_expr_t, const char *); 57 static void db_mach_reboot (db_expr_t, bool, db_expr_t, const char *); 58 static void db_mach_pagemap(db_expr_t, bool, db_expr_t, const char *); 81 db_mach_abort(db_expr_t addr, bool have_addr, db_expr_t count, in db_mach_abort() 88 db_mach_halt(db_expr_t addr, bool have_addr, db_expr_t count, in db_mach_halt() 95 db_mach_reboot(db_expr_t addr, bool have_addr, db_expr_t count, in db_mach_reboot() 105 db_mach_pagemap(db_expr_t addr, bool have_addr, db_expr_t count, in db_mach_pagemap()
|
/netbsd-src/sys/arch/sun3/sun3/ |
H A D | db_machdep.c | 54 static void db_mach_abort (db_expr_t, bool, db_expr_t, const char *); 55 static void db_mach_halt (db_expr_t, bool, db_expr_t, const char *); 56 static void db_mach_reboot (db_expr_t, bool, db_expr_t, const char *); 57 static void db_mach_pagemap(db_expr_t, bool, db_expr_t, const char *); 80 db_mach_abort(db_expr_t addr, bool have_addr, db_expr_t count, in db_mach_abort() 88 db_mach_halt(db_expr_t addr, bool have_addr, db_expr_t count, const char *modif) in db_mach_halt() 95 db_mach_reboot(db_expr_t addr, bool have_addr, db_expr_t count, in db_mach_reboot() 106 db_mach_pagemap(db_expr_t addr, bool have_addr, db_expr_t count, in db_mach_pagemap()
|
/netbsd-src/sys/arch/arm/include/arm32/ |
H A D | db_machdep.h | 8 void db_show_frame_cmd(db_expr_t, bool, db_expr_t, const char *); 9 void db_show_fault_cmd(db_expr_t, bool, db_expr_t, const char *); 10 void db_reset_cmd(db_expr_t, bool, db_expr_t, const char *); 12 void db_show_tlb_cmd(db_expr_t, bool, db_expr_t, const char *); 15 void db_switch_cpu_cmd(db_expr_t, bool, db_expr_t, const char *);
|
/netbsd-src/sys/arch/riscv/riscv/ |
H A D | db_interface.c | 76 static void db_mach_cpu_cmd(db_expr_t, bool, db_expr_t, const char *); 78 static void db_mach_reset_cmd(db_expr_t, bool, db_expr_t, const char *); 80 void db_tlbdump_cmd(db_expr_t, bool, db_expr_t, const char *); 81 void db_kvtophys_cmd(db_expr_t, bool, db_expr_t, const char *); 178 db_tlbdump_cmd(db_expr_t addr, bool have_addr, db_expr_t coun [all...] |
/netbsd-src/sys/arch/mips/mips/ |
H A D | db_interface.c | 83 static void db_watch_cmd(db_expr_t, bool, db_expr_t, const char *); 84 static void db_unwatch_cmd(db_expr_t, bool, db_expr_t, const char *); 88 static void db_mach_cpu_cmd(db_expr_t, bool, db_expr_t, const char *); 91 void db_cp0dump_cmd(db_expr_t, bool, db_expr_t, const char *); 92 void db_cpuinfo_cmd(db_expr_t, bool, db_expr_t, const char *); 93 void db_kvtophys_cmd(db_expr_t, bool, db_expr_t, const char *); 94 void db_tlbdump_cmd(db_expr_t, bool, db_expr_t, const char *); 97 void db_mfcr_cmd(db_expr_t, bool, db_expr_t, const char *); 98 void db_mtcr_cmd(db_expr_t, bool, db_expr_t, const char *); 258 db_tlbdump_cmd(db_expr_t addr, bool have_addr, db_expr_t count, in db_tlbdump_cmd() [all …]
|
/netbsd-src/sys/arch/sparc/sparc/ |
H A D | db_interface.c | 141 void db_prom_cmd(db_expr_t, bool, db_expr_t, const char *); 142 void db_page_cmd(db_expr_t, bool, db_expr_t, const char *); 143 void db_proc_cmd(db_expr_t, bool, db_expr_t, const char *); 144 void db_dump_pcb(db_expr_t, bool, db_expr_t, const char *); 147 void db_cpu_cmd(db_expr_t, bool, db_expr_t, const char *); 148 void db_xcall_cmd(db_expr_t, bool, db_expr_t, const char *); 296 db_proc_cmd(db_expr_t addr, bool have_addr, db_expr_t count, const char *modif) in db_proc_cmd() 333 db_dump_pcb(db_expr_t addr, bool have_addr, db_expr_t count, const char *modif) in db_dump_pcb() 376 db_prom_cmd(db_expr_t addr, bool have_addr, db_expr_t count, const char *modif) in db_prom_cmd() 383 db_page_cmd(db_expr_t addr, bool have_addr, db_expr_t count, const char *modif) in db_page_cmd() [all …]
|
/netbsd-src/sys/arch/sparc64/include/ |
H A D | db_machdep.h | 54 typedef int64_t db_expr_t; /* expression - signed */ typedef 79 void db_dump_ts(db_expr_t, bool, db_expr_t, const char *); 80 void db_dump_trap(db_expr_t, bool, db_expr_t, const char *); 81 void db_dump_fpstate(db_expr_t, bool, db_expr_t, const char *); 82 void db_dump_window(db_expr_t, bool, db_expr_t, const char *); 83 void db_dump_stack(db_expr_t, bool, db_expr_t, const char *);
|
/netbsd-src/sys/arch/aarch64/aarch64/ |
H A D | db_machdep.c | 71 void db_md_cpuinfo_cmd(db_expr_t, bool, db_expr_t, const char *); 72 void db_md_frame_cmd(db_expr_t, bool, db_expr_t, const char *); 73 void db_md_lwp_cmd(db_expr_t, bool, db_expr_t, const char *); 74 void db_md_pte_cmd(db_expr_t, bool, db_expr_t, const char *); 75 void db_md_reset_cmd(db_expr_t, bool, db_expr_t, const char *); 76 void db_md_tlbi_cmd(db_expr_t, bool, db_expr_t, const char *); 77 void db_md_ttbr_cmd(db_expr_t, bool, db_expr_t, const char *); 78 void db_md_sysreg_cmd(db_expr_t, bool, db_expr_t, const char *); 79 void db_md_break_cmd(db_expr_t, bool, db_expr_t, const char *); 80 void db_md_watch_cmd(db_expr_t, bool, db_expr_t, const char *); [all …]
|
/netbsd-src/usr.sbin/crash/ |
H A D | crash.c | 182 db_breakpoint_cmd(db_expr_t addr, bool have_addr, db_expr_t count, in db_breakpoint_cmd() 190 db_continue_cmd(db_expr_t addr, bool have_addr, db_expr_t count, in db_continue_cmd() 198 db_delete_cmd(db_expr_t addr, bool have_addr, db_expr_t count, in db_delete_cmd() 206 db_deletewatch_cmd(db_expr_t addr, bool have_addr, db_expr_t count, in db_deletewatch_cmd() 215 db_trace_until_matching_cmd(db_expr_t addr, bool have_addr, db_expr_t coun [all...] |
/netbsd-src/sys/arch/aarch64/include/ |
H A D | db_machdep.h | 78 typedef long long int db_expr_t; typedef 109 inst_return(db_expr_t insn) in inst_return() 116 inst_trap_return(db_expr_t insn) in inst_trap_return() 123 inst_call(db_expr_t insn) in inst_call() 131 inst_load(db_expr_t insn) in inst_load() 169 inst_store(db_expr_t insn) in inst_store() 193 inst_branch(db_expr_t insn) in inst_branch() 206 bool db_inst_unconditional_flow_transfer(db_expr_t); 207 db_addr_t db_branch_taken(db_expr_t, db_addr_t, db_regs_t *);
|