Hi, Nguyen Anh Phu wrote:
I'm creating a kernel module, in that module, I want to read the value of registers (e.g: eax, ebx etc.) of a process base on its process id, but it seems that I can't find it on any website. Is there anyone can help?
Do you want to read the registers of the current running thread, or the saved context (registers) of a not-running thread ?
Sincerly, Thomas -- Thomas Petazzoni thomas.petazzoni@xxxxxxxx -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/