Hi,
I am trying to debug Linux guest kernel on a Windows host. I am using MingW gdb and VMWare workstation 6.5.2 (actually the same error happens with VMWare server).
I added debugStub.listen.guest32=1 to the vmx file and was able to attach gdb on port 8832 (as described here: http://stackframe.blogspot.com/2007/04/debugging-linux-kernels-with.html).
I can see a stack trace, I can interrupt guest execution with Ctrl+C.
But when I try to put a break point at any function, I get erro, e.g.,
(gdb) b sys_open
Cannot access memory at address 0x80284c59
The same error happens when I try to view contents of the variable:
(gdb) p init_task
Cannot access memory at address 0x80a0c700
Could you please tell me how to fix this strange behavior?
Thank you,
Alex
P.S. I am not using "replay debugging" feature at all, but this discussion seems to be the most relevant place for debugging question
I am trying to debug Linux guest kernel on a Windows host. I am using MingW gdb and VMWare workstation 6.5.2 (actually the same error happens with VMWare server).
I added debugStub.listen.guest32=1 to the vmx file and was able to attach gdb on port 8832 (as described here: http://stackframe.blogspot.com/2007/04/debugging-linux-kernels-with.html).
I can see a stack trace, I can interrupt guest execution with Ctrl+C.
But when I try to put a break point at any function, I get erro, e.g.,
(gdb) b sys_open
Cannot access memory at address 0x80284c59
The same error happens when I try to view contents of the variable:
(gdb) p init_task
Cannot access memory at address 0x80a0c700
Could you please tell me how to fix this strange behavior?
Thank you,
Alex
P.S. I am not using "replay debugging" feature at all, but this discussion seems to be the most relevant place for debugging question