From: "Neo Jia" <neojia@gmail.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: How to debug Linux kernel on qemu with kgdb?
Date: Wed, 25 Apr 2007 01:29:33 -0500 [thread overview]
Message-ID: <5d649bdb0704242329x587bbfc4qe9feefd037e24f60@mail.gmail.com> (raw)
In-Reply-To: <462EEF7A.5040708@web.de>
On 4/25/07, Jan Kiszka <jan.kiszka@web.de> wrote:
> Neo Jia wrote:
> > hi,
> >
> > I am trying to use debug kgdb patched linux kernel on my qemu. Both
> > the native and target platform are IA32. I am wondering if there is
> > anyone can show me the procedure?
>
> Yep, see https://mail.gna.org/public/xenomai-core/2006-09/msg00202.html
>
> (BTW, I think that kgdb bug is still unfixed - I never got a feedback.)
I can connect gdb through /dev/pts/XX. My qemu is lanuched by
qemu -nographic -hda linux.img -kernel
./2.6.15.5-kgdb/vmlinuz-2.6.15.5-kgdb -serial pty -append "kgdbwait
console=ttyS0 root=/dev/hda sb=0x220,5,1,5 ide2=noprobe ide3=noprobe
ide4=noprobe ide5=noprobe"
Do you know where can I get the console output?
I would like to work out kgdb + qemu to debug linux kernel.
Thanks,
Neo
>
> Jan
>
>
>
--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
next prev parent reply other threads:[~2007-04-25 6:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-25 1:11 [Qemu-devel] How to debug Linux kernel on qemu with kgdb? Neo Jia
2007-04-25 6:04 ` [Qemu-devel] " Jan Kiszka
2007-04-25 6:29 ` Neo Jia [this message]
2007-04-25 6:32 ` Neo Jia
2007-04-25 6:36 ` Jan Kiszka
2007-04-25 15:54 ` Neo Jia
2007-04-25 16:09 ` Jan Kiszka
2007-04-25 17:07 ` Neo Jia
2007-04-25 20:05 ` Jan Kiszka
2007-04-25 22:01 ` Neo Jia
2007-04-25 16:02 ` Neo Jia
2007-04-25 6:29 ` Jan Kiszka
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=5d649bdb0704242329x587bbfc4qe9feefd037e24f60@mail.gmail.com \
--to=neojia@gmail.com \
--cc=jan.kiszka@web.de \
--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).