|
From: <joh...@st...> - 2003-06-27 18:09:56
|
I want to get the EIP register value from the current process from with in the kernel during a system call. I have tried using the pt_regs, sys_pt_regs, and thier helper funtions. They all seem to cause Kernel Panics because of memory issues. I have tried copying the pt_regs memory into the kernel, but am getting all zeros. Maybe I am not even looking at the right piece of memory. I can provide code I have tried, but this could be an easy one for someone to answer. I have already looked over the documentation on ptracing, but the pt_regs seem to be a place where a lot of changes have occured in uml. Ted Johnson |