| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | Export exception cause register to userspace ? |
| From: | Dmitry Antipov <antipov@ru.mvista.com> |
| Date: | Tue, 12 Feb 2008 19:20:09 +0300 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Thunderbird 2.0.0.9 (X11/20071115) |
Hello, I'm working on a debugging software which should be able to determine an exact reason of exception which may (and should) be processed within user space - SIGTRAP, for example. This information should be extracted from cause register (CP0 register 13, select 0), which is cp0_cause of pt_regs. But this register is not stored within sigcontext of signal frame, so it's value is not available from signal handler. Is it a good idea to add a dedicated sigcontext field to store cause register ? Dmitry |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: early_ioremap for MIPS, Ralf Baechle |
|---|---|
| Next by Date: | Can't execute any MIPS binary, Matteo Croce |
| Previous by Thread: | General info on kernel status for vr4121/MobilePro 780, Ben Hodgens |
| Next by Thread: | Can't execute any MIPS binary, Matteo Croce |
| Indexes: | [Date] [Thread] [Top] [All Lists] |