VMware

This Question is Not Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
0 Replies Last post: Jul 8, 2009 1:53 PM by aldep  

Cannot access memory at address when trying to set a breakpoint posted: Jul 8, 2009 1:55 PM

Click to view aldep's profile Lurker 2 posts since
Jul 8, 2009
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 :)

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities