Reply to Message

View discussion in a popup

Replying to:
stevepate
Contributor
Contributor

Can't get gdb to attach between two Ubuntu VMs in Fusion 13.0.0 / Apple Silicon

I have two VMs:

VM-1 - Ubuntu server 22.10 - Linux kernel with kgdb compiled in - 192.168.156.131

VM-2 - Ubuntu server 22.10 - where I am running gdb from - 192.168.156.132

For VM-1, I have the following in the .vmx file

    debugStub.listen.guest64 = "TRUE"

and when I boot the VM I can see the following in vmware.log:

    vmx Debug stub: VMware Fusion is listening for debug connection on port 8864.

    vmx Debug stub:     (gdb) target remote localhost:8864

Good so far. But when I try to connect from VM-2 with either of the following:

    (gdb) target remote localhost:8864

    (gdb) target remote 192.168.156.131:8864

I get "Connection timed out".

I don't see any message in vmware.log for VM-1

Labels (4)
Reply
0 Kudos