X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/13a19dccebb7df5b78d984ce26f8f3225dd5130a..b632f535c4a6882bdca0317fb88cbe6e165f24eb:/lunaix-os/kernel/debug/trace.c?ds=sidebyside diff --git a/lunaix-os/kernel/debug/trace.c b/lunaix-os/kernel/debug/trace.c index e43d873..ae183d4 100644 --- a/lunaix-os/kernel/debug/trace.c +++ b/lunaix-os/kernel/debug/trace.c @@ -133,8 +133,10 @@ trace_printswctx(const isr_param* p, char* direction) struct ksym_entry* sym = trace_sym_lookup(p->execp->eip); - kprintf( - KDEBUG ">> (sw:%s) iv:%d, errno:%p <<\n", direction, p->execp->vector); + kprintf(KDEBUG ">> (sw:%s) iv:%d, errno:%p <<\n", + direction, + p->execp->vector, + p->execp->err_code); kprintf(KDEBUG "%p:%s\n", p->execp->eip, ksym_getstr(sym)); }