Re: Ptrace in FreeBSD

2008-08-13 Thread Dave Arsenault
ANDERSON EDUARDO wrote: someone could help me use the PT_SETREGS on FreeBSD? I get the value of registers with PT_GETREGS normal, but when I make the modification and the use PT_SETREGS not working! could show me an example? _

Re: How should i start working on kernel programming?

2007-03-05 Thread Dave Arsenault
How would I go about debugging a LKM. I am currently working on a simple kernel module that overwrites the open() syscall and sends the output through a parsing routine. I've read many articles talking about using the (gdb) add-symbol-file lkm.ko and in fact that works but as far as I know I can