VMware

This Question is Not Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
5 Replies Last post: Nov 9, 2009 3:33 PM by kernelgrunt  

Connecting to x64 target posted: Nov 5, 2009 7:41 PM

Click to view kernelgrunt's profile Lurker 5 posts since
Nov 5, 2009

I am trying to hook up to a Win7 x64 boot in VMWare WS 6.5 using host platform XP x64. GNU gdb 6.3 from MinGW. Settings in vmx file:

bios.bootDelay = "3000"
debugStub.hideBreakpoints = "TRUE"
#debugStub.listen.guest32 = "TRUE"
#debugStub.listen.guest32.remote = "TRUE"
#monitor.debugOnStartGuest32 = "TRUE"
debugStub.listen.guest64 = "TRUE"
debugStub.listen.guest64.remote = "TRUE"

From gdb command-line:

(gdb) set architecture i386:x86-64
The target architecture is assumed to be i386:x86-64
(gdb) target remote localhost:8864
Remote debugging using localhost:8864
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Couldn't establish connection to remote target
Malformed response to offset query, timeout


If I use the 32-bit settings I can connect just fine at boot and step all the way until long mode is enabled.

Using the 64-bit settings I have tried connecting at boot, and I have tried connecting after I know 64-bit instructions are executing. Same behavior...no luck. Am I doing something obviously wrong?

Re: Connecting to x64 target

2. Nov 9, 2009 11:11 AM in response to: kernelgrunt
Click to view ecl100's profile Enthusiast 48 posts since
Sep 24, 2007
Hi, kernelgrunt. Would you enter "set debug remote 1" in gdb before "target remote..." and post what you see here?

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