Debugging using VMWARE and LINUX

All development related issues welcome

Moderator: Moderator Team

Post Reply
murphy666
Posts: 7
Joined: Tue Nov 30, 2004 11:15 pm
Location: Montreal, Canada

Debugging using VMWARE and LINUX

Post by murphy666 » Fri Dec 03, 2004 5:59 pm

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!

arty
Developer
Posts: 19
Joined: Tue Nov 30, 2004 10:39 pm
Location: Chicago, IL

Post by arty » Sun Dec 05, 2004 12:48 pm

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

murphy666
Posts: 7
Joined: Tue Nov 30, 2004 11:15 pm
Location: Montreal, Canada

Post by murphy666 » Tue Dec 07, 2004 4:57 pm

Thanks! that worked like a charm...

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

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests