| /NextBSD/sys/kern/ |
| HD | uipc_debug.c | 52 db_printf("SOCK_STREAM"); in db_print_sotype() 56 db_printf("SOCK_DGRAM"); in db_print_sotype() 60 db_printf("SOCK_RAW"); in db_print_sotype() 64 db_printf("SOCK_RDM"); in db_print_sotype() 68 db_printf("SOCK_SEQPACKET"); in db_print_sotype() 72 db_printf("unknown"); in db_print_sotype() 84 db_printf("%sSO_DEBUG", comma ? ", " : ""); in db_print_sooptions() 88 db_printf("%sSO_ACCEPTCONN", comma ? ", " : ""); in db_print_sooptions() 92 db_printf("%sSO_REUSEADDR", comma ? ", " : ""); in db_print_sooptions() 96 db_printf("%sSO_KEEPALIVE", comma ? ", " : ""); in db_print_sooptions() [all …]
|
| HD | subr_pcpu.c | 341 db_printf("dpcpu_off[%2d] = 0x%jx (+ DPCPU_START = %p)\n", in DB_SHOW_COMMAND() 352 db_printf("cpuid = %d\n", pc->pc_cpuid); in show_pcpu() 353 db_printf("dynamic pcpu = %p\n", (void *)pc->pc_dynamic); in show_pcpu() 354 db_printf("curthread = "); in show_pcpu() 357 db_printf("%p: pid %d \"%s\"\n", td, td->td_proc->p_pid, in show_pcpu() 360 db_printf("none\n"); in show_pcpu() 361 db_printf("curpcb = %p\n", pc->pc_curpcb); in show_pcpu() 362 db_printf("fpcurthread = "); in show_pcpu() 365 db_printf("%p: pid %d \"%s\"\n", td, td->td_proc->p_pid, in show_pcpu() 368 db_printf("none\n"); in show_pcpu() [all …]
|
| /NextBSD/sys/net80211/ |
| HD | ieee80211_ddb.c | 61 db_printf("%s%-25s : ", prefix, name); \ 63 db_printf("\n"); \ 90 db_printf("usage: show sta <addr>\n"); in DB_SHOW_COMMAND() 99 db_printf("usage: show statab <addr>\n"); in DB_SHOW_COMMAND() 110 db_printf("usage: show vap <addr>\n"); in DB_SHOW_COMMAND() 135 db_printf("usage: show com <addr>\n"); in DB_SHOW_COMMAND() 181 db_printf("%s: com %p vaps:", in DB_SHOW_ALL_COMMAND() 185 db_printf(" %s(%p)", in DB_SHOW_ALL_COMMAND() 187 db_printf("\n"); in DB_SHOW_ALL_COMMAND() 200 db_printf("usage: show mesh <addr>\n"); in DB_SHOW_ALL_COMMAND() [all …]
|
| /NextBSD/sys/ddb/ |
| HD | db_ps.c | 97 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n"); in db_ps() 99 db_printf(" pid ppid pgrp uid state wmesg wchan cmd\n"); in db_ps() 103 db_printf("oops, ran out of processes early!\n"); in db_ps() 112 db_printf("%5d %5d %5d %5d ", p->p_pid, pp->p_pid, in db_ps() 193 db_printf(" %-6.6s ", state); in db_ps() 196 db_printf(" (threaded) "); in db_ps() 198 db_printf(" (threaded) "); in db_ps() 201 db_printf("["); in db_ps() 202 db_printf("%s", p->p_comm); in db_ps() 204 db_printf("]"); in db_ps() [all …]
|
| HD | db_examine.c | 96 db_printf("\n"); in db_examine() 99 db_printf(":\t"); in db_examine() 105 db_printf(":\t"); in db_examine() 114 db_printf("%+-*lr", width, (long)value); in db_examine() 119 db_printf("%-*lx", width, (long)value); in db_examine() 124 db_printf("%-*ly", width, (long)value); in db_examine() 129 db_printf("%-*ld", width, (long)value); in db_examine() 134 db_printf("%-*lu", width, (long)value); in db_examine() 139 db_printf("%-*lo", width, (long)value); in db_examine() 145 db_printf("%c", (int)value); in db_examine() [all …]
|
| HD | db_command.c | 317 db_printf("%-16s", cmd->name); in db_cmd_list() 347 db_printf("?\n"); in db_command() 361 db_printf("No such command\n"); in db_command() 365 db_printf("Ambiguous\n"); in db_command() 394 db_printf("Bad modifier\n"); in db_command() 417 db_printf("Count missing\n"); in db_command() 488 db_printf("\n"); in db_command_loop() 490 db_printf("db> "); in db_command_loop() 518 db_printf("%s", s); in db_error() 529 db_printf("textdump_pending set.\n" in db_dump() [all …]
|
| HD | db_watch.c | 79 db_printf("All watchpoints used.\n"); in db_watchpoint_alloc() 101 db_printf("No map.\n"); in db_set_watchpoint() 115 db_printf("Already set.\n"); in db_set_watchpoint() 121 db_printf("Too many watchpoints.\n"); in db_set_watchpoint() 152 db_printf("Not set.\n"); in db_delete_watchpoint() 161 db_printf("No watchpoints set\n"); in db_list_watchpoints() 166 db_printf(" Map Address Size\n"); in db_list_watchpoints() 168 db_printf(" Map Address Size\n"); in db_list_watchpoints() 174 db_printf("%s%16p %16lx %lx\n", in db_list_watchpoints() 176 db_printf("%s%8p %8lx %lx\n", in db_list_watchpoints() [all …]
|
| HD | db_sym.c | 87 db_printf("Invalid value: %d", *(int*)valuep); in db_var_db_cpu() 94 db_printf("db_var_db_cpu: unknown operation\n"); in db_var_db_cpu() 113 db_printf("Read-only variable.\n"); in db_var_curcpu() 117 db_printf("db_var_curcpu: unknown operation\n"); in db_var_curcpu() 142 db_printf("db_var_db_vnet: unknown operation\n"); in db_var_db_vnet() 161 db_printf("Read-only variable.\n"); in db_var_curvnet() 165 db_printf("db_var_curvnet: unknown operation\n"); in db_var_curvnet() 444 db_printf("%+#lr", (long)off); in db_printsym() 448 db_printf("%#lr", (unsigned long)off); in db_printsym() 452 db_printf("%#lr = %s", (unsigned long)off, name); in db_printsym() [all …]
|
| /NextBSD/sys/mips/mips/ |
| HD | db_disasm.c | 159 db_printf("nop"); in md_printins() 163 db_printf("move\t%s,%s", in md_printins() 167 db_printf("%s", spec_name[i.RType.func]); in md_printins() 178 db_printf("\t%s,%s,%d", reg_name[i.RType.rd], in md_printins() 188 db_printf("\t%s,%s,%s", reg_name[i.RType.rd], in md_printins() 194 db_printf("\t%s", reg_name[i.RType.rd]); in md_printins() 203 db_printf("\t%s", reg_name[i.RType.rs]); in md_printins() 214 db_printf("\t%s,%s", in md_printins() 223 db_printf("\t%d", (i.RType.rs << 5) | i.RType.rt); in md_printins() 227 db_printf("\t%s,%s,%s", reg_name[i.RType.rd], in md_printins() [all …]
|
| /NextBSD/sys/amd64/vmm/intel/ |
| HD | vmcs.c | 424 db_printf("VMX not enabled\n"); in DB_SHOW_COMMAND() 429 db_printf("Only current VMCS supported\n"); in DB_SHOW_COMMAND() 435 db_printf("No current VM context\n"); in DB_SHOW_COMMAND() 438 db_printf("VMCS: %jx\n", cur_vmcs); in DB_SHOW_COMMAND() 439 db_printf("VPID: %lu\n", vmcs_read(VMCS_VPID)); in DB_SHOW_COMMAND() 440 db_printf("Activity: "); in DB_SHOW_COMMAND() 444 db_printf("Active"); in DB_SHOW_COMMAND() 447 db_printf("HLT"); in DB_SHOW_COMMAND() 450 db_printf("Shutdown"); in DB_SHOW_COMMAND() 453 db_printf("Wait for SIPI"); in DB_SHOW_COMMAND() [all …]
|
| /NextBSD/sys/powerpc/powerpc/ |
| HD | db_trace.c | 194 db_printf("saved LR(0x%zx) is invalid.", lr); in db_backtrace() 199 db_printf("0x%016lx: ", stackframe); in db_backtrace() 201 db_printf("0x%08x: ", stackframe); in db_backtrace() 214 db_printf("%s ", tf->srr1 & PSL_PR ? "user" : "kernel"); in db_backtrace() 218 db_printf("DSI %s trap @ %#zx by ", in db_backtrace() 224 db_printf("ALI trap @ %#zx (xSR %#x) ", in db_backtrace() 229 db_printf("DSE trap @ %#zx by ", tf->dar); in db_backtrace() 232 db_printf("ISE trap @ %#zx by ", tf->srr0); in db_backtrace() 256 db_printf("%s trap by ", trapstr); in db_backtrace() 258 db_printf("trap %#zx by ", tf->exc); in db_backtrace() [all …]
|
| /NextBSD/sys/arm/mv/ |
| HD | mv_machdep.c | 438 db_printf("Cpu ID: 0x%08x\n", reg); in DB_SHOW_COMMAND() 440 db_printf("Current Cache Lvl ID: 0x%08x\n",reg); in DB_SHOW_COMMAND() 443 db_printf("Ctrl: 0x%08x\n",reg); in DB_SHOW_COMMAND() 445 db_printf("Aux Ctrl: 0x%08x\n",reg); in DB_SHOW_COMMAND() 448 db_printf("Processor Feat 0: 0x%08x\n", reg); in DB_SHOW_COMMAND() 450 db_printf("Processor Feat 1: 0x%08x\n", reg); in DB_SHOW_COMMAND() 452 db_printf("Debug Feat 0: 0x%08x\n", reg); in DB_SHOW_COMMAND() 454 db_printf("Auxiliary Feat 0: 0x%08x\n", reg); in DB_SHOW_COMMAND() 456 db_printf("Memory Model Feat 0: 0x%08x\n", reg); in DB_SHOW_COMMAND() 458 db_printf("Memory Model Feat 1: 0x%08x\n", reg); in DB_SHOW_COMMAND() [all …]
|
| /NextBSD/sys/netinet/ |
| HD | in_debug.c | 51 #define SIN_DB_RPINTF(f, e) db_printf("\t %s = " f "\n", #e, sin->e); in in_show_sockaddr_in() 52 db_printf("\tsockaddr_in = %p\n", sin); in in_show_sockaddr_in() 57 db_printf("\t %s = %02x%02x%02x%02x%02x%02x%02x%02x\n", in in_show_sockaddr_in() 73 db_printf("usage: show sin <struct sockaddr_in *>\n"); in DB_SHOW_COMMAND() 84 #define IA_DB_RPINTF(f, e) db_printf("\t %s = " f "\n", #e, ia->e); in in_show_in_ifaddr() 85 #define IA_DB_RPINTF_PTR(f, e) db_printf("\t %s = " f "\n", #e, &ia->e); in in_show_in_ifaddr() 86 #define IA_DB_RPINTF_DPTR(f, e) db_printf("\t *%s = " f "\n", #e, *ia->e); in in_show_in_ifaddr() 87 db_printf("\tin_ifaddr = %p\n", ia); in in_show_in_ifaddr() 111 db_printf("usage: show in_ifaddr <struct in_ifaddr *>\n"); in DB_SHOW_COMMAND()
|
| HD | tcp_usrreq.c | 1972 db_printf(" "); in db_print_indent() 1981 db_printf("TCPS_CLOSED"); in db_print_tstate() 1985 db_printf("TCPS_LISTEN"); in db_print_tstate() 1989 db_printf("TCPS_SYN_SENT"); in db_print_tstate() 1993 db_printf("TCPS_SYN_RECEIVED"); in db_print_tstate() 1997 db_printf("TCPS_ESTABLISHED"); in db_print_tstate() 2001 db_printf("TCPS_CLOSE_WAIT"); in db_print_tstate() 2005 db_printf("TCPS_FIN_WAIT_1"); in db_print_tstate() 2009 db_printf("TCPS_CLOSING"); in db_print_tstate() 2013 db_printf("TCPS_LAST_ACK"); in db_print_tstate() [all …]
|
| /NextBSD/sys/sparc64/sparc64/ |
| HD | db_disasm.c | 818 db_printf("nop\n"); in db_disasm() 873 db_printf("undefined\n"); in db_disasm() 877 db_printf("%s", i_ptr->name); in db_disasm() 887 db_printf(",a"); in db_disasm() 891 db_printf(",pt"); in db_disasm() 893 db_printf(",pn"); in db_disasm() 900 db_printf(" \t"); in db_disasm() 906 db_printf("%%%s", regs[((insn >> 14) & 0x1f)]); in db_disasm() 909 db_printf("%%%s", regs[(insn & 0x1f)]); in db_disasm() 912 db_printf("%%%s", regs[((insn >> 25) & 0x1f)]); in db_disasm() [all …]
|
| HD | db_trace.c | 109 db_printf("user trace: trap %%o7=%#lx\n", o7); in db_utrace() 111 db_printf("pc %#lx, sp %#lx\n", pc, sp); in db_utrace() 132 db_printf("done\n"); in db_utrace() 157 db_printf("-- %s", trap_msg[type & ~T_KERNEL]); in db_print_trap() 162 db_printf(" tar=%#lx", tar); in db_print_trap() 171 db_printf(" sfar=%#lx sfsr=%#lx", sfar, sfsr); in db_print_trap() 177 db_printf(" tar=%#lx", tar); in db_print_trap() 182 db_printf(" (%ld", code); in db_print_trap() 188 db_printf(", %s, %s", p->p_sysent->sv_name, in db_print_trap() 191 db_printf(")"); in db_print_trap() [all …]
|
| HD | db_hwwatch.c | 163 db_printf("Overwriting previously active watch point at " in db_md_set_watchpoint() 182 db_printf("\tat 0x%lx, active bytes: ", (u_long)wp); in db_watch_print() 185 db_printf("%d ", i); in db_watch_print() 188 db_printf("none"); in db_watch_print() 189 db_printf("\n"); in db_watch_print() 199 db_printf("Physical address watchpoint:\n"); in db_md_list_watchpoints() 204 db_printf("\tnot active.\n"); in db_md_list_watchpoints() 205 db_printf("Virtual address watchpoint:\n"); in db_md_list_watchpoints() 210 db_printf("\tnot active.\n"); in db_md_list_watchpoints()
|
| /NextBSD/sys/i386/i386/ |
| HD | db_trace.c | 224 db_printf("%s(", name); 227 db_printf("%s=", *argnp++); 228 db_printf("%r", db_get_value((int)argp, 4, FALSE)); 231 db_printf(","); 234 db_printf(",..."); 235 db_printf(") at "); 238 db_printf("/frame 0x%r", (register_t)frame); 239 db_printf("\n"); 251 db_printf(" (%d", number); in decode_syscall() 258 db_printf(", %s, %s", p->p_sysent->sv_name, symname); in decode_syscall() [all …]
|
| HD | db_disasm.c | 1031 db_printf("%s", db_reg[size][addrp->disp]); 1036 db_printf("%s:", seg); 1041 db_printf("("); 1043 db_printf("%s", addrp->base); 1045 db_printf(",%s,%d", addrp->index, 1<<addrp->ss); 1046 db_printf(")"); 1073 db_printf("<bad instruction>"); 1080 db_printf("%s", fp->f_name); 1083 db_printf("s"); 1086 db_printf("l"); [all …]
|
| /NextBSD/sys/amd64/amd64/ |
| HD | db_disasm.c | 1104 …db_printf("%s", db_reg[rex != 0 ? 1 : 0][(size == LONG && (rex & REX_W)) ? QUAD : size][addrp->dis… 1109 db_printf("%s:", seg); 1115 db_printf("("); 1117 db_printf("%s", addrp->base); 1119 db_printf(",%s,%d", addrp->index, 1<<addrp->ss); 1120 db_printf(")"); 1148 db_printf("<bad instruction>"); 1155 db_printf("%s", fp->f_name); 1158 db_printf("s"); 1161 db_printf("l"); [all …]
|
| HD | db_trace.c | 143 db_printf("%s() at ", name != NULL ? name : "??"); in db_print_stack_entry() 146 db_printf("/frame 0x%lx", (register_t)frame); in db_print_stack_entry() 147 db_printf("\n"); in db_print_stack_entry() 159 db_printf(" (%d", number); in decode_syscall() 166 db_printf(", %s, %s", p->p_sysent->sv_name, symname); in decode_syscall() 169 db_printf(")"); in decode_syscall() 252 db_printf("--- trap %#r", tf->tf_trapno); in db_nextframe() 255 db_printf("--- syscall"); in db_nextframe() 260 db_printf("--- interrupt"); in db_nextframe() 265 db_printf(", rip = %#lr, rsp = %#lr, rbp = %#lr ---\n", rip, in db_nextframe() [all …]
|
| /NextBSD/sys/arm/arm/ |
| HD | db_trace.c | 78 db_printf("%s() at ", name); in db_stack_trace_cmd() 80 db_printf("\n"); in db_stack_trace_cmd() 81 db_printf("\t pc = 0x%08x lr = 0x%08x (", state->start_pc, in db_stack_trace_cmd() 84 db_printf(")\n"); in db_stack_trace_cmd() 85 db_printf("\t sp = 0x%08x fp = 0x%08x", in db_stack_trace_cmd() 94 db_printf("%s%sr%d = 0x%08x", sep, in db_stack_trace_cmd() 106 db_printf("\n"); in db_stack_trace_cmd() 121 db_printf("Unable to unwind into user mode\n"); in db_stack_trace_cmd() 124 db_printf("Unwind failure (no registers changed)\n"); in db_stack_trace_cmd()
|
| /NextBSD/sys/arm64/arm64/ |
| HD | debug_monitor.c | 151 db_printf("trying to read from wrong debug register %d\n", n); in dbg_wb_read_reg() 166 db_printf("trying to write to wrong debug register %d\n", n); in dbg_wb_write_reg() 250 db_printf("\nhardware watchpoints:\n"); in dbg_show_watchpoint() 251 db_printf(" watch status type len address symbol\n"); in dbg_show_watchpoint() 252 db_printf(" ----- -------- ---------- --- ------------------ ------------------\n"); in dbg_show_watchpoint() 259 db_printf(" %-5d %-8s %10s %3d 0x%16lx ", in dbg_show_watchpoint() 263 db_printf("\n"); in dbg_show_watchpoint() 265 db_printf(" %-5d disabled\n", i); in dbg_show_watchpoint() 287 db_printf("Unsupported debug type\n"); in dbg_find_free_slot() 316 db_printf("Unsupported debug type\n"); in dbg_find_slot() [all …]
|
| /NextBSD/sys/geom/ |
| HD | geom_subr.c | 1252 db_printf("%*s", indent, ""); \ 1253 db_printf(__VA_ARGS__); \ 1257 db_printf("\n"); \ 1321 db_printf(", flags=0x%04x", cp->flags); in db_show_geom_consumer() 1322 db_printf("\n"); in db_show_geom_consumer() 1355 db_printf(", flags=%s (0x%04x)", in db_show_geom_provider() 1359 db_printf("\n"); in db_show_geom_provider() 1390 db_printf(", flags=%s (0x%04x)", in db_show_geom_geom() 1394 db_printf("\n"); in db_show_geom_geom() 1417 db_printf("class: %s (%p)\n", mp->name, mp); in db_show_geom_class() [all …]
|
| /NextBSD/sys/net/ |
| HD | if_llatbl.c | 840 db_printf("lle=%p\n", lle); in llatbl_lle_show() 841 db_printf(" lle_next=%p\n", lle->lle_next.le_next); in llatbl_lle_show() 842 db_printf(" lle_lock=%p\n", &lle->lle_lock); in llatbl_lle_show() 843 db_printf(" lle_tbl=%p\n", lle->lle_tbl); in llatbl_lle_show() 844 db_printf(" lle_head=%p\n", lle->lle_head); in llatbl_lle_show() 845 db_printf(" la_hold=%p\n", lle->la_hold); in llatbl_lle_show() 846 db_printf(" la_numheld=%d\n", lle->la_numheld); in llatbl_lle_show() 847 db_printf(" la_expire=%ju\n", (uintmax_t)lle->la_expire); in llatbl_lle_show() 848 db_printf(" la_flags=0x%04x\n", lle->la_flags); in llatbl_lle_show() 849 db_printf(" la_asked=%u\n", lle->la_asked); in llatbl_lle_show() [all …]
|