[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 on Msys

From: Robin Green
Subject: Re: [Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 on Msys
Date: Tue, 06 Jun 2006 13:44:43 +0100

On Tue, 6 Jun 2006 05:35:13 -0700 (PDT)
Tieu Ma Dau <address@hidden> wrote:
> Hi All,  
>   I've compiled Linux kernel 2.6.16 with kgdb on Linux. And after
> that,   I've tried to debug this kernel with Qemu 0.8.1 on Msys to
> simulate ARM   Processor. In fact, I've run the command below:
> qemu-system-arm -kernel myKernel -initrd arm_root.img -s But I can't
> make the connection from arm-toolchain-gdb to the port 1234   (by
> default, this port must be openned by Qemu when using the option -s
> for debugging) Furthermore, I've confirmed if the port 1234 is
> openned or not with the   command: netstat -ao and there is not port
> 1234 openned. I've also   try the option -p 123456 to change the
> default port for debugging of   Qemu but I've got the same result. Do
> you know where the problem arrive?

Port 1234 is the port on the virtual machine's IP address, not the port
on the real machine's IP address. So you need to be able to access the
virtual machine's IP address from the real machine. For this you can use
tun/tap networking - see the docs. It is not possible to do this with
user-mode networking.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]