Re: VMWare Workstation 6 for debugging Linux Kernel (!)

From: Nigel Cunningham
Date: Fri Apr 20 2007 - 07:22:15 EST


Hi.

On Fri, 2007-04-20 at 12:27 +0200, Andi Kleen wrote:
> Xavier Bestel <xavier.bestel@xxxxxxx> writes:
>
> > On Fri, 2007-04-20 at 00:46 +0200, roland wrote:
> >
> > > We just quietly added an exciting feature to Workstation 6.0. I believe it
> > > will make WS6 a great tool for Linux kernel development. You can now debug
> > > kernel of Linux VM with gdb running on the Host without changing anything in
> > > the Guest VM. No kdb, no recompiling and no need for second machine. All you
> > > need is a single line in VM's configuration file.
> >
> > I think qemu has the exact same feature.
>
> It doesn't seem to work for x86-64 there though.

You mean the VMware one doesn't work? I tried it and got:

(gdb) target remote localhost:8832
Remote debugging using localhost:8832
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" respoonse
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Malformed response to offset query, timeout
(gdb)

Hopefully that's not too hard to fix. Made the appropriate noises :)

Nigel

Attachment: signature.asc
Description: This is a digitally signed message part