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

From: Avi Kivity
Date: Fri Apr 20 2007 - 07:46:03 EST


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.
>

kvm's qemu has a patch that allows qemu to be an x86_64 gdbserver (with
or without kvm).

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/