Debug with VMware and gdb
Posted: Mon Feb 22, 2021 2:58 am
I've always tested my code using QEMU and it works perfectly but trying to boot the image with Virtualbox or VMware always causes some problems with the bootloader. I wanted to debug the code using gdb but I can't figure out how to connect to the VM.
I followed this and some other guides all saying the same things.
Whenever I boot up the machine VMware hangs forever (finally I need to kill it with the task manager) and gdb prints this error:
I followed this and some other guides all saying the same things.
Whenever I boot up the machine VMware hangs forever (finally I need to kill it with the task manager) and gdb prints this error:
Code: Select all
(gdb) target remote localhost:8864
Remote debugging using localhost:8864
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
Remote replied unexpectedly to 'vMustReplyEmpty': timeout
(gdb)