GDB errors : Couldn't get registers: No such process.
Hi,
When I run gdb I am getting these errors.
.......
(gdb) next
Couldn't get registers: No such process.
(gdb)
I traced the program and it happens at user mode code
ptr = mmap(); //will call driver mmap implementation
*ptr++ = 10;
ptr point to a memory which is allocated in kernel mode and is mapped out to user mode by mmap.
So, what would be the problem? Anybody encounter this error before?
Thanks!
|