[lkml]   [2001]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: the fault address of a traced process
From said:
> The tracer now wants to determine the traced process' faulted address.
> According to the (2.2.19) kernel source
> 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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.023 / U:0.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site