Using debugStub to debug a guest linux kernel
I am running VMware Fusion Version 6.0.2 (1398658)
I have configured the following in my vmx
debugStub.listen.guest64 = "TRUE"
debugStub.listen.guest64.remote = "TRUE"
debugStub.hideBreakpoints=1
I had a problem with using the (xcode) provided gdb, which I resolved by using gdb on a second vm.
I now connect using the commands
(gdb) file /pathto/mykernel.symbols
(gdb) target remote osx-host:8864
This is all working fine.
Here's my question, I would like to be able to attach to more than one debug vm kernel session at a time. Is there a .vmx config that will allow me to specify which port to listen on? That way I can attach to 8864 for one vm and say 8865 on another.