qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Kazu" <kazoo@r3.dion.ne.jp>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 onMsys
Date: Wed, 7 Jun 2006 20:23:45 +0900	[thread overview]
Message-ID: <000a01c68a24$d6ef2390$0464a8c0@athlon> (raw)
In-Reply-To: 20060607075623.12958.qmail@web38111.mail.mud.yahoo.com


Sent: Wednesday, June 07, 2006 4:56 PM Tieu Ma Dau wrote:


>I recently try the patch you recommend but I got the same result. In fact,
after make this patch into Qemu source code >0.8.1, I compiled it with these
commands:
>./configure --prefix=/travail/install/qemu-8.1
>make install
>And I run Qemu to simulate ARM on debugging mode:
>./qemu-system-arm -kernel myKernel-with-kgdb -initrd arm_root.img -s
>And I tried to connect to Qemu by default port 1234: (gdb) target remote
localhost:1234
>But I got the error: connection refused

MinGW's gdb doesn't support network debugging. You need to use Cygwin's gdb
for remote debugging with network.

>So I test the current openned port in localhost by the command: netstat -ao
>And the result I got is below:
>[code]
>Connexions actives

  Proto  Adresse locale         Adresse distante       Etat
  TCP    vinh-phu:epmap         vinh-phu:0             LISTENING       1056
  TCP    vinh-phu:microsoft-ds  vinh-phu:0             LISTENING       4
  TCP    vinh-phu:1025          vinh-phu:0             LISTENING       1216
  TCP    vinh-phu:1027          vinh-phu:0             LISTENING       4
  TCP    vinh-phu:2869          vinh-phu:0             LISTENING       1416
  TCP    vinh-phu:3016          vinh-phu:0             LISTENING       2036
  TCP    vinh-phu:3019          vinh-phu:0             LISTENING       2012
  TCP    vinh-phu:3026          vinh-phu:0             LISTENING       2012
  TCP    vinh-phu:5000          vinh-phu:0             LISTENING       1416
  TCP    vinh-phu:5101          vinh-phu:0             LISTENING       2012
  TCP    vinh-phu:3001          vinh-phu:0             LISTENING       1800
  TCP    vinh-phu:3002          vinh-phu:0             LISTENING       1216
  TCP    vinh-phu:3003          vinh-phu:0             LISTENING       1216
  TCP    vinh-phu:3015          vinh-phu:0             LISTENING       2036
  TCP    vinh-phu:3015          localhost:3016         ESTABLISHED     2036
  TCP    vinh-phu:3016          localhost:3015         ESTABLISHED     2036
  TCP    vinh-phu:3019          cs8.msg.dcn.yahoo.com:5050  ESTABLISHED
2012
  TCP    vinh-phu:3026          sip7.voice.re2.yahoo.com:5061  ESTABLISHED
2012
  TCP    vinh-phu:15871         vinh-phu:0             LISTENING       1988
  UDP    vinh-phu:epmap         *:*                                    1056
  UDP    vinh-phu:microsoft-ds  *:*                                    4
  UDP    vinh-phu:isakmp        *:*                                    896
  UDP    vinh-phu:1026          *:*                                    1216
  UDP    vinh-phu:3004          *:*                                    1216
  UDP    vinh-phu:3011          *:*                                    1988
  UDP    vinh-phu:3012          *:*                                    1384
  UDP    vinh-phu:3025          *:*                                    1384
  UDP    vinh-phu:3068          *:*                                    1384
  UDP    vinh-phu:3069          *:*                                    1384
  UDP    vinh-phu:3071          *:*                                    1384
  UDP    vinh-phu:3072          *:*                                    1384
  UDP    vinh-phu:3073          *:*                                    1384
  UDP    vinh-phu:3074          *:*                                    1384
  UDP    vinh-phu:ntp           *:*                                    1216
  UDP    vinh-phu:1900          *:*                                    1416
  UDP    vinh-phu:3005          *:*                                    1216
  UDP    vinh-phu:3009          *:*                                    1216
  UDP    vinh-phu:3022          *:*                                    2012
  UDP    vinh-phu:3441          *:*                                    2036
  UDP    vinh-phu:3997          *:*                                    1540
  UDP    vinh-phu:ntp           *:*                                    1216
  UDP    vinh-phu:1900          *:*                                    1416
  UDP    vinh-phu:3030          *:*                                    2012
  UDP    vinh-phu:3031          *:*                                    2012
  UDP    vinh-phu:8257          *:*                                    1988
  UDP    vinh-phu:57073         *:*                                    1988
[/code]
>Do you know any suggestion for this problem?

Port 1234 doesn't open. The program doesn't work well. If you use the patch
, TCP 1234 port will be used. Did you see this message?

Waiting gdb connection on port 1234

Regards,
Kazu

  reply	other threads:[~2006-06-07 11:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-06 12:35 [Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 on Msys Tieu Ma Dau
2006-06-06 12:44 ` Robin Green
2006-06-06 13:21   ` Tieu Ma Dau
2006-06-06 14:10   ` andrzej zaborowski
2006-06-06 14:18     ` Tieu Ma Dau
2006-06-06 14:36     ` Robin Green
2006-06-06 16:20 ` Lonnie Mendez
2006-06-07  7:56   ` Tieu Ma Dau
2006-06-07 11:23     ` Kazu [this message]
2006-06-07 11:53       ` [Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 onMsys Tieu Ma Dau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000a01c68a24$d6ef2390$0464a8c0@athlon' \
    --to=kazoo@r3.dion.ne.jp \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).