On Mon, 2006-06-26 at 19:21 +0200, [EMAIL PROTECTED] wrote:
> plain text document attachment (enhance-kernel-fault-report.patch)
> Introduce xnarch_fault_um() to test if a fault happened in user-mode and 
> applies the new feature to report core and driver crashes more verbosely. 

>       if (xnpod_shadow_p()) {
>  #ifdef CONFIG_XENO_OPT_DEBUG
> -             if (xnarch_fault_notify(fltinfo))       /* Don't report debug 
> traps */
> +             if (!xnarch_fault_um(fltinfo)) {
> +                     xnarch_trace_panic_freeze();

KGDB breakpoint issue?

> +                     xnprintf
> +                         ("Switching %s to secondary mode after exception 
> #%u in "
> +                          "kernel-space at 0x%lx (pid %d)\n", thread->name,
> +                          xnarch_fault_trap(fltinfo),
> +                          xnarch_fault_pc(fltinfo),
> +                          xnthread_user_pid(thread));
> +                     xnarch_trace_panic_dump();
> +             } else if (xnarch_fault_notify(fltinfo)) /* Don't report debug 
> traps */

-- 
Philippe.



_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to