linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Where to find register content after exception ?
@ 2004-07-10 18:45 kt
  0 siblings, 0 replies; only message in thread
From: kt @ 2004-07-10 18:45 UTC (permalink / raw)
  To: linux-assembly


Hi,

I would like to get hold of the machine state after my user space 
exception handler has been invoked by the kernel.
I wonder whether this information is passed by the  third argument if 
this type of handler :

void (*sa_sigaction)(int, siginfo_t *, void *);

has been installed by sigaction (man sigaction doesn't tell me this). 
The other possibility could be that the kernel deposits this information 
somewhere on the user stack before invoking the handler. I wonder 
whether this is indeed the case and whether someone has already come up 
with a nice solution to access this data if it is available in this 
form. Since this is possibly system dependent, let me mention that I'm 
using linux-ppc32 version 2.6.6 running on a PowerMacG5.


Regards,

K. Timmler

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-10 18:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-10 18:45 Where to find register content after exception ? kt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).