[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: Re: the fault address of a traced process
From: Jeff Dike <jdike () karaya ! com>
Date: 2001-09-30 23:39:51
[Download RAW message or body]
bruce@cs.usyd.edu.au said:
> The tracer now wants to determine the traced process' faulted address.
> According to the (2.2.19) kernel source
[snip]
> How should a tracer extract this information under a current (2.2.*,
> 2.4.*) Linux?
Read some more UML source, specifically,
segv_handler() in arch/um/kernel/trap_user.c and also the i386 definitions
in arch/um/include/sysdep-i386/sigcontext.h
Basically, you are passed the necessary information in a sigcontext struct.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic