Page 1 of 1

Debugging using VMWARE and LINUX

Posted: Fri Dec 03, 2004 5:59 pm
by murphy666
i want to start coding for the project.

The only problem left is how to debug with vmware (using a named pipe) and gdb in linux.

Could someone help me with this?

thanks!

Posted: Sun Dec 05, 2004 12:48 pm
by arty
I was using the netpipes package like this:

Code: Select all

#!/bin/sh

exec faucet 1666 --in --out hose -unix- /tmp/vmdebug --slave
With vmware set to 'this end is server' and 'other end is a program'.

You can then do

Code: Select all

(gdb) target remote localhost:1666
And be connected to reactos' gdb port. Of course you need to enable gdb in reactos like this:

Code: Select all

BootType=ReactOS
SystemPath=multi(0)disk(0)rdisk(0)partition(1)\ReactOS
Options=/COM=1 /DEBUGPORT=GDB /BAUD=115200

Posted: Tue Dec 07, 2004 4:57 pm
by murphy666
Thanks! that worked like a charm...

Now let's start the big stuff... :D