/titanic_50/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb.c | 96 int i = (mdb.m_flags & MDB_FL_PSYM) ? 1 : 0; in psym_disc_get() 109 mdb.m_flags |= MDB_FL_PSYM; in psym_disc_set() 111 mdb.m_flags &= ~MDB_FL_PSYM; in psym_disc_set() 128 mdb_nv_set_value(mdb.m_proffset, MDB_NV_VALUE(v)); in roff_disc_set() 140 if (mdb.m_target != NULL && mdb_tgt_status(mdb.m_target, &s) == 0) in thr_disc_get() 180 if (mdb.m_target != NULL) in mdb_path_alloc() 181 arg_i.a_un.a_str = mdb_tgt_isa(mdb.m_target); in mdb_path_alloc() 189 if (mdb.m_target != NULL) in mdb_path_alloc() 190 arg_p.a_un.a_str = mdb_tgt_platform(mdb.m_target); in mdb_path_alloc() 199 arg_r.a_un.a_str = strcmp(mdb.m_root, "/") ? mdb.m_root : ""; in mdb_path_alloc() [all …]
|
H A D | mdb_main.c | 127 mdb_iob_printf(mdb.m_err, " [%d] %s`%s+0x%lx()\n", fnum, in print_frame() 131 mdb_iob_printf(mdb.m_err, " [%d] %p()\n", fnum, pc); in print_frame() 141 mdb_iob_printf(mdb.m_err, " invalid frame (%p)\n", fr); in valid_frame() 146 mdb_iob_printf(mdb.m_err, " mis-aligned frame (%p)\n", fr); in valid_frame() 163 if (mdb.m_frame != NULL && mdb.m_frame->f_cp != NULL) in flt_handler() 164 idcp = mdb.m_frame->f_cp->c_dcmd; in flt_handler() 179 idcp->idc_modp == &mdb.m_rmod || idcp->idc_modp->mod_hdl == NULL) in flt_handler() 182 if (mdb.m_term != NULL) { in flt_handler() 191 mdb_iob_printf(mdb.m_err, in flt_handler() 193 mdb.m_pname, sig); in flt_handler() [all …]
|
H A D | mdb_frame.c | 51 longjmp(mdb.m_frame->f_pcb, MDB_ERR_NOMEM); in mdb_cmd_create() 54 mdb_list_append(&mdb.m_frame->f_cmds, cp); in mdb_cmd_create() 92 mdb_iob_destroy(mdb.m_out); in mdb_frame_reset() 93 mdb.m_out = mdb_iob_stack_pop(&fp->f_ostk); in mdb_frame_reset() 105 if (mdb.m_fmark == NULL) in mdb_frame_push() 106 mdb.m_fmark = fp; in mdb_frame_push() 108 mdb_lex_state_save(mdb.m_frame->f_lstate); in mdb_frame_push() 112 mdb_list_append(&mdb.m_flist, fp); in mdb_frame_push() 114 fp->f_flags = mdb.m_flags & MDB_FL_VOLATILE; in mdb_frame_push() 115 fp->f_pcmd = mdb.m_frame->f_pcmd; in mdb_frame_push() [all …]
|
H A D | mdb_set.c | 43 mdb.m_flags = (mdb.m_flags & ~bits) | (bits & -enable); in opt_set_mflags() 51 mdb.m_tgtflags = (mdb.m_tgtflags & ~bits) | (bits & -enable); in opt_set_tflags() 59 mdb_iob_setflags(mdb.m_out, MDB_IOB_PGENABLE); in opt_pager() 61 mdb_iob_clrflags(mdb.m_out, MDB_IOB_PGENABLE); in opt_pager() 71 else if (mdb.m_promptlen == 0) in opt_adb() 83 mdb.m_armemlim = strtoi(arg); in opt_armemlim() 87 mdb.m_armemlim = MDB_ARR_NOLIMIT; in opt_armemlim() 98 mdb.m_arstrlim = strtoi(arg); in opt_arstrlim() 102 mdb.m_arstrlim = MDB_ARR_NOLIMIT; in opt_arstrlim() 113 mdb.m_execmode = MDB_EM_ASK; in opt_exec_mode() [all …]
|
H A D | mdb_modapi.c | 60 ssize_t rbytes = mdb_tgt_vread(mdb.m_target, buf, nbytes, addr); in mdb_vread() 71 return (mdb_tgt_vwrite(mdb.m_target, buf, nbytes, addr)); in mdb_vwrite() 77 ssize_t rbytes = mdb_tgt_aread(mdb.m_target, as, buf, nbytes, addr); in mdb_aread() 88 return (mdb_tgt_awrite(mdb.m_target, as, buf, nbytes, addr)); in mdb_awrite() 94 ssize_t rbytes = mdb_tgt_fread(mdb.m_target, buf, nbytes, addr); in mdb_fread() 105 return (mdb_tgt_fwrite(mdb.m_target, buf, nbytes, addr)); in mdb_fwrite() 111 ssize_t rbytes = mdb_tgt_pread(mdb.m_target, buf, nbytes, addr); in mdb_pread() 122 return (mdb_tgt_pwrite(mdb.m_target, buf, nbytes, addr)); in mdb_pwrite() 128 return (mdb_tgt_readstr(mdb.m_target, MDB_TGT_AS_VIRT, in mdb_readstr() 135 return (mdb_tgt_writestr(mdb.m_target, MDB_TGT_AS_VIRT, buf, addr)); in mdb_writestr() [all …]
|
H A D | mdb_grammar.y | 49 if (mdb_tgt_vread(mdb.m_target, buf, nbytes, addr) != nbytes) in vfetch() 56 if (mdb_tgt_fread(mdb.m_target, buf, nbytes, addr) != nbytes) in ffetch() 133 if (!mdb_call(mdb_nv_get_value(mdb.m_dot), 1, 0)) 148 if (!mdb_call(mdb_nv_get_value(mdb.m_dot), $2, 165 if (mdb_iob_isastr(mdb.m_in)) { 166 mdb_nv_set_value(mdb.m_dot, $1); 167 mdb.m_incr = 0; 172 mdb_nv_set_value(mdb.m_dot, $1); 174 mdb_list_move(&mdb.m_lastc, 175 &mdb.m_frame->f_cmds); [all …]
|
H A D | mdb_cmds.c | 113 if (rdback && mdb_tgt_aread(mdb.m_target, as, &o, sizeof (o), in write_uint8() 117 if (mdb_tgt_awrite(mdb.m_target, as, &n, sizeof (n), addr) == -1) in write_uint8() 121 if (mdb_tgt_aread(mdb.m_target, as, &n, sizeof (n), addr) == -1) in write_uint8() 124 mdb_iob_printf(mdb.m_out, "%-#*lla%16T%-#8x=%8T0x%x\n", in write_uint8() 125 mdb_iob_getmargin(mdb.m_out), addr, o, n); in write_uint8() 136 if (rdback && mdb_tgt_aread(mdb.m_target, as, &o, sizeof (o), in write_uint16() 140 if (mdb_tgt_awrite(mdb.m_target, as, &n, sizeof (n), addr) == -1) in write_uint16() 144 if (mdb_tgt_aread(mdb.m_target, as, &n, sizeof (n), addr) == -1) in write_uint16() 147 mdb_iob_printf(mdb.m_out, "%-#*lla%16T%-#8hx=%8T0x%hx\n", in write_uint16() 148 mdb_iob_getmargin(mdb.m_out), addr, o, n); in write_uint16() [all …]
|
H A D | mdb_fmt.c | 126 uint_t oflags = mdb_iob_getflags(mdb.m_out) & MDB_IOB_INDENT; in fmt_dot() 129 mdb_iob_clrflags(mdb.m_out, oflags); in fmt_dot() 131 if (mdb.m_flags & MDB_FL_PSYM) { in fmt_dot() 133 mdb_iob_printf(mdb.m_out, "%-#16lla%16T", addr); in fmt_dot() 138 mdb_iob_printf(mdb.m_out, "%-16s%16T", buf); in fmt_dot() 141 mdb_iob_setflags(mdb.m_out, oflags); in fmt_dot() 142 mdb_nv_set_value(mdb.m_rvalue, addr); in fmt_dot() 161 mdb_iob_printf(mdb.m_out, "%e", f); in fmt_float() 186 return (addr - (mdb.m_incr * cnt)); in fmt_carat() 194 mdb_iob_nl(mdb.m_out); in fmt_nl() [all …]
|
H A D | mdb_shell.c | 88 if (access(mdb.m_shell, X_OK) == -1) in mdb_shell_exec() 89 yyperror("cannot access %s", mdb.m_shell); in mdb_shell_exec() 96 (void) execlp(mdb.m_shell, strbasename(mdb.m_shell), in mdb_shell_exec() 99 warn("failed to exec %s", mdb.m_shell); in mdb_shell_exec() 165 uint_t iflag = mdb_iob_getflags(mdb.m_out) & MDB_IOB_INDENT; in mdb_shell_pipe() 171 if (access(mdb.m_shell, X_OK) == -1) in mdb_shell_pipe() 172 yyperror("cannot access %s", mdb.m_shell); in mdb_shell_pipe() 194 (void) execlp(mdb.m_shell, strbasename(mdb.m_shell), in mdb_shell_pipe() 197 warn("failed to exec %s", mdb.m_shell); in mdb_shell_pipe() 211 mdb_iob_stack_push(&mdb.m_frame->f_ostk, mdb.m_out, yylineno); in mdb_shell_pipe() [all …]
|
H A D | mdb_module_load.c | 107 for (i = 0; mdb.m_lpath[i] != NULL; i++) { in mdb_module_load() 111 "%s/%s", mdb.m_lpath[i], name); in mdb_module_load() 132 mdb.m_lpath[i], name); in mdb_module_load() 158 if (mdb_module_load(name, mld->mld_mode) == 0 && mdb.m_term != NULL) { in module_load() 160 mdb_iob_puts(mdb.m_out, "Loading modules: ["); in module_load() 163 mdb_iob_printf(mdb.m_out, " %s", name); in module_load() 164 mdb_iob_flush(mdb.m_out); in module_load() 190 uint_t oflag = mdb_iob_getflags(mdb.m_out) & MDB_IOB_PGENABLE; in mdb_module_load_all() 196 mdb_iob_clrflags(mdb.m_out, oflag); in mdb_module_load_all() 198 (void) mdb_tgt_object_iter(mdb.m_target, module_load, &mld); in mdb_module_load_all() [all …]
|
H A D | mdb_ctf.c | 287 } else if (mdb.m_synth != NULL) { in name_to_type() 288 if ((id = ctf_lookup_by_name(mdb.m_synth, in name_to_type() 290 fp = mdb.m_synth; in name_to_type() 313 mdb_tgt_t *t = mdb.m_target; in mdb_ctf_enabled_by_object() 323 mdb_tgt_t *t = mdb.m_target; in mdb_ctf_lookup_by_name() 344 mdb_tgt_t *t = mdb.m_target; in mdb_ctf_lookup_by_symbol() 376 mdb_tgt_t *t = mdb.m_target; in mdb_ctf_lookup_by_addr() 436 mdb_tgt_t *t = mdb.m_target; in mdb_ctf_func_info() 801 mdb_tgt_t *t = mdb.m_target; in mdb_ctf_type_iter() 806 fp = mdb.m_synth; in mdb_ctf_type_iter() [all …]
|
H A D | mdb_module.c | 90 if (mdb_nv_lookup(&mdb.m_modules, name) != NULL) { in mdb_module_validate_name() 123 mdb.m_lmod = mod; /* Mark module as currently loading */ in mdb_module_create() 146 if (!(mdb.m_flags & MDB_FL_NOCTF)) in mdb_module_create() 285 (void) mdb_nv_insert(&mdb.m_modules, mod->mod_name, NULL, in mdb_module_create() 302 if (mdb.m_mtail != NULL) { in mdb_module_create() 303 ASSERT(mdb.m_mtail->mod_next == NULL); in mdb_module_create() 304 mdb.m_mtail->mod_next = mod; in mdb_module_create() 305 mod->mod_prev = mdb.m_mtail; in mdb_module_create() 306 mdb.m_mtail = mod; in mdb_module_create() 308 ASSERT(mdb.m_mhead == NULL); in mdb_module_create() [all …]
|
H A D | mdb_disasm.c | 42 mdb_var_t *v = mdb_nv_lookup(&mdb.m_disasms, name); in mdb_dis_select() 45 mdb.m_disasm = mdb_nv_get_cookie(v); in mdb_dis_select() 49 if (mdb.m_target == NULL) { in mdb_dis_select() 50 if (mdb.m_defdisasm != NULL) in mdb_dis_select() 51 strfree(mdb.m_defdisasm); in mdb_dis_select() 52 mdb.m_defdisasm = strdup(name); in mdb_dis_select() 64 if ((dp->dis_module = mdb.m_lmod) == NULL) in mdb_dis_create() 65 dp->dis_module = &mdb.m_rmod; in mdb_dis_create() 68 mdb_var_t *v = mdb_nv_lookup(&mdb.m_disasms, dp->dis_name); in mdb_dis_create() 77 (void) mdb_nv_insert(&mdb.m_disasms, dp->dis_name, NULL, in mdb_dis_create() [all …]
|
H A D | mdb_umem.c | 77 if (mdb.m_depth > 0) { in mdb_umem_handler() 83 longjmp(mdb.m_frame->f_pcb, MDB_ERR_NOMEM); in mdb_umem_handler() 100 (void) mdb_iob_puts(mdb.m_err, buf); in mdb_umem_handler() 101 (void) mdb_iob_flush(mdb.m_err); in mdb_umem_handler() 115 (void) mdb_iob_puts(mdb.m_err, buf); in mdb_umem_handler() 116 (void) mdb_iob_flush(mdb.m_err); in mdb_umem_handler() 119 (void) mdb_iob_puts(mdb.m_err, buf); in mdb_umem_handler() 120 (void) mdb_iob_flush(mdb.m_err); in mdb_umem_handler() 123 (void) mdb_iob_puts(mdb.m_err, buf); in mdb_umem_handler() 124 (void) mdb_iob_flush(mdb.m_err); in mdb_umem_handler() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_main.c | 183 mdb.m_dseg = kav->kav_dseg; in kmdb_init() 184 mdb.m_dsegsz = kav->kav_dseg_size; in kmdb_init() 187 mdb.m_out = mdb_iob_create(out_io, MDB_IOB_WRONLY); in kmdb_init() 190 mdb.m_err = mdb_iob_create(err_io, MDB_IOB_WRONLY); in kmdb_init() 191 mdb_iob_clrflags(mdb.m_err, MDB_IOB_AUTOWRAP); in kmdb_init() 194 mdb.m_null = mdb_iob_create(null_io, MDB_IOB_WRONLY); in kmdb_init() 197 mdb.m_term = NULL; in kmdb_init() 210 mdb.m_flags |= MDB_FL_NOUNLOAD; in kmdb_init() 212 mdb.m_in = mdb_iob_create(in_io, MDB_IOB_RDONLY); in kmdb_init() 213 mdb_iob_setflags(mdb.m_in, MDB_IOB_TTYLIKE); in kmdb_init() [all …]
|
H A D | kmdb_wr.c | 83 if ((curtail = mdb.m_dbgwrtail) == NULL) { in kmdb_wr_debugger_notify() 91 mdb.m_dbgwrtail = new; in kmdb_wr_debugger_notify() 93 mdb.m_dbgwrhead = new; in kmdb_wr_debugger_notify() 105 } while (cas((uintptr_t *)&mdb.m_dbgwrtail, (uintptr_t)curtail, in kmdb_wr_debugger_notify() 121 if (mdb.m_dbgwrhead == NULL) in kmdb_wr_debugger_process() 125 mdb.m_dbgwrtail->wn_next = NULL; in kmdb_wr_debugger_process() 126 for (wn = mdb.m_dbgwrtail; wn->wn_prev != NULL; in kmdb_wr_debugger_process() 131 wn = mdb.m_dbgwrhead; in kmdb_wr_debugger_process() 138 mdb.m_dbgwrhead = mdb.m_dbgwrtail = NULL; in kmdb_wr_debugger_process() 149 return (mdb.m_dbgwrhead == NULL); in kmdb_wr_debugger_notify_isempty() [all …]
|
H A D | kmdb_kdi.c | 74 return (mdb.m_kdi->kdi_mods_changed()); in kmdb_kdi_mods_changed() 116 rc = mdb.m_kdi->kdi_mod_iter(kmdb_kdi_mod_interp, &mid); in kmdb_kdi_mod_iter() 126 return (mdb.m_kdi->kdi_mod_isloaded(modp)); in kmdb_kdi_mod_isloaded() 133 return (mdb.m_kdi->kdi_mod_haschanged(mc1, mp1, mc2, mp2)); in kmdb_kdi_mod_haschanged() 153 return (kdi_prw(buf, nbytes, addr, mdb.m_kdi->kdi_pread)); in kmdb_kdi_pread() 159 return (kdi_prw(buf, nbytes, addr, mdb.m_kdi->kdi_pwrite)); in kmdb_kdi_pwrite() 165 mdb.m_kdi->kdi_flush_caches(); in kmdb_kdi_flush_caches() 185 if (mdb.m_flags & MDB_FL_NOCTF) in kmdb_kdi_get_flags() 187 if (mdb.m_flags & MDB_FL_NOMODS) in kmdb_kdi_get_flags() 196 return (mdb.m_kdi->kdi_range_is_nontoxic(va, sz, write)); in kmdb_kdi_range_is_nontoxic() [all …]
|
H A D | kmdb_fault.c | 57 mdb_iob_printf(mdb.m_err, in kmdb_fault() 63 mdb_iob_printf(mdb.m_err, in kmdb_fault() 70 mdb_iob_printf(mdb.m_err, "\n*** Debugger Fault (CPU %d)\n\n", in kmdb_fault() 77 if (mdb.m_term != NULL) { in kmdb_fault() 79 mdb_iob_printf(mdb.m_err, "\n%s: " in kmdb_fault() 88 ", or (d)ebug with self? ", mdb.m_pname); in kmdb_fault() 89 mdb_iob_flush(mdb.m_err); in kmdb_fault() 91 if (IOP_READ(mdb.m_term, &c, sizeof (c)) != sizeof (c)) in kmdb_fault() 94 mdb_iob_printf(mdb.m_err, "\n"); in kmdb_fault() 121 mdb_iob_printf(mdb.m_err, in kmdb_fault()
|
H A D | kmdb_dpi.c | 69 mdb.m_dpi = &kmdb_dpi_ops; in kmdb_dpi_init() 70 return (mdb.m_dpi->dpo_init(kav)); in kmdb_dpi_init() 77 mdb.m_dpi->dpo_debugger_activate(dvecp, flags); in kmdb_activate() 83 mdb.m_dpi->dpo_debugger_deactivate(); in kmdb_deactivate() 122 mdb.m_dpi->dpo_enter_mon(); in kmdb_dpi_enter_mon() 128 mdb.m_dpi->dpo_modchg_register(func); in kmdb_dpi_modchg_register() 134 mdb.m_dpi->dpo_modchg_cancel(); in kmdb_dpi_modchg_cancel() 140 return (mdb.m_dpi->dpo_get_cpu_state(cpuid)); in kmdb_dpi_get_cpu_state() 146 return (mdb.m_dpi->dpo_get_master_cpuid()); in kmdb_dpi_get_master_cpuid() 152 return (mdb.m_dpi->dpo_get_gregs(cpuid)); in kmdb_dpi_get_gregs() [all …]
|
/titanic_50/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kmdb_fault_isadep.c | 53 mdb_iob_printf(mdb.m_err, " [%2d] %?p %?p()\n", in print_frame() 56 mdb_iob_printf(mdb.m_err, " [%2d] %?p %a()\n", in print_frame() 66 if (!(addr - (uintptr_t)mdb.m_dseg < mdb.m_dsegsz)) { in valid_frame() 67 mdb_iob_printf(mdb.m_err, " frame (%p) outside of " in valid_frame() 73 mdb_iob_printf(mdb.m_err, " mis-aligned frame (%p)\n", fr); in valid_frame() 99 mdb_iob_printf(mdb.m_err, in print_stack() 117 mdb_iob_printf(mdb.m_err, " tt: %p, sp: %p, pc: %p", tt, sp, pc); in kmdb_fault_display() 119 mdb_iob_printf(mdb.m_err, " %A", pc); in kmdb_fault_display() 120 mdb_iob_printf(mdb.m_err, "\n"); in kmdb_fault_display() 128 mdb_iob_printf(mdb.m_err, fmt, "\tDSFAR now: ", dsfar); in kmdb_fault_display() [all …]
|
/titanic_50/usr/src/pkg/manifests/ |
H A D | developer-debug-mdb.mf | 26 set name=pkg.fmri value=pkg:/developer/debug/mdb@$(PKGVERS).2 63 dir path=usr/lib/mdb group=sys 64 dir path=usr/lib/mdb/kvm group=sys 65 dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys 66 dir path=usr/lib/mdb/proc group=sys 67 $(sparc_ONLY)dir path=usr/lib/mdb/proc/$(ARCH64) group=sys 68 $(i386_ONLY)dir path=usr/lib/mdb/proc/$(ARCH64) 69 dir path=usr/lib/mdb/raw group=sys 73 $(i386_ONLY)dir path=usr/platform/i86pc/lib/mdb group=sys 74 $(i386_ONLY)dir path=usr/platform/i86pc/lib/mdb/kvm group=sys [all …]
|
H A D | source-demo-mdb-examples.mf | 26 set name=pkg.fmri value=pkg:/source/demo/mdb-examples@$(PKGVERS) 35 dir path=usr/demo/mdb 36 dir path=usr/demo/mdb/amd64 37 dir path=usr/demo/mdb/common 38 dir path=usr/demo/mdb/i386 39 dir path=usr/demo/mdb/sparc 40 dir path=usr/demo/mdb/sparcv9 41 file path=usr/demo/mdb/Makefile 42 file path=usr/demo/mdb/Makefile.amd64 43 file path=usr/demo/mdb/Makefile.common [all …]
|
/titanic_50/usr/src/cmd/mdb/tools/scripts/ |
H A D | mdb.sh | 29 mdb_lib=/net/mdb.eng/mdb/archives # Archive library path 30 mdb_ws=/net/mdb.eng/mdb/snapshot/latest # Snapshot of latest workspace 45 if [ -n "$CODEMGR_WS" -a -x $CODEMGR_WS/proto/root_$mach/usr/bin/mdb ]; then 46 mdb_exec=$CODEMGR_WS/proto/root_$mach/usr/bin/mdb 48 elif [ -x /usr/bin/mdb -a ! -d /mdb ]; then 49 mdb_exec=/usr/bin/mdb 51 elif [ -x /usr/bin/mdb -a -d /mdb ]; then 53 if [ -x /usr/bin/$isa/mdb ]; then 54 mdb_exec=/usr/bin/$isa/mdb 63 elif [ -x $mdb_ws/proto/root_$mach/usr/bin/mdb ]; then [all …]
|
/titanic_50/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kmdb_kdi_isadep.c | 44 mdb.m_kdi->mkdi_stop_slaves(my_cpuid, doxc); in kmdb_kdi_stop_slaves() 50 mdb.m_kdi->mkdi_start_slaves(); in kmdb_kdi_start_slaves() 56 mdb.m_kdi->mkdi_slave_wait(); in kmdb_kdi_slave_wait() 62 return (mdb.m_kdi->mkdi_get_userlimit()); in kmdb_kdi_get_userlimit() 70 if ((err = mdb.m_kdi->mkdi_get_cpuinfo(vendorp, familyp, modelp)) != 0) in kmdb_kdi_get_cpuinfo() 85 mdb.m_kdi->mkdi_activate(main, cpusave, ncpusave); in kmdb_kdi_activate() 91 mdb.m_kdi->mkdi_deactivate(); in kmdb_kdi_deactivate() 97 mdb.m_kdi->mkdi_idt_switch(cpusave); in kmdb_kdi_idt_switch() 103 mdb.m_kdi->mkdi_update_drreg(drreg); in kmdb_kdi_update_drreg() 109 mdb.m_kdi->mkdi_set_debug_msrs(msrs); in kmdb_kdi_set_debug_msrs() [all …]
|
H A D | kmdb_fault_isadep.c | 52 mdb_iob_printf(mdb.m_err, " [%2d] %?p()\n", fnum, pc); in print_frame() 54 mdb_iob_printf(mdb.m_err, " [%2d] %?p %A()\n", fnum, pc, pc); in print_frame() 64 mdb_iob_printf(mdb.m_err, " mis-aligned frame (%p)\n", fr); in valid_frame() 95 mdb_iob_printf(mdb.m_err, " trapno: %d, sp: %p, pc: %p", trapno, in kmdb_fault_display() 98 mdb_iob_printf(mdb.m_err, " %A", pc); in kmdb_fault_display() 99 mdb_iob_printf(mdb.m_err, "\n\n"); in kmdb_fault_display() 101 if (mdb.m_dseg == NULL || mdb.m_dsegsz == 0) { in kmdb_fault_display() 102 mdb_iob_printf(mdb.m_err, in kmdb_fault_display() 108 if (!(sp - (uintptr_t)mdb.m_dseg < mdb.m_dsegsz)) { in kmdb_fault_display() 109 mdb_iob_printf(mdb.m_err, in kmdb_fault_display()
|