From: andrzej-kardas@o2.pl (Andrzej Kardas)
To: kernelnewbies@lists.kernelnewbies.org
Subject: From which point onwards the kernel execution starts
Date: Sun, 06 Mar 2011 11:26:07 +0100 [thread overview]
Message-ID: <4D73613F.8080201@o2.pl> (raw)
In-Reply-To: <AANLkTikAOBFkZBAKGXFrNApud0tpweZ8T-zOvzF7swjA@mail.gmail.com>
On 06.03.2011 09:01, Mulyadi Santosa wrote:
>
> Oh and I forgot my usual tips in such case: use qemu...attach gdb to
> qemu's gdb stub.... use -s and -S options...it will stop the guest
> invocation right from the initial startup. Assuming you compile guest
> kernel with frame pointer and sufficient debug symbols, it would be
> easy for you to explore the kernel code :)
>
Let me add some stuff to Your tips :). If we talking about qemu and gdb,
if somebody doesn't like console-oriented tools (who doesn't ?? :) ),
anyway there is possibility to use qemu and gdb with very popular IDE -
Eclipse and trace execution of kernel code with "magnificent graphical
interface".
The recipe how configure Eclipse + qemu + gdb :
http://issaris.blogspot.com/2007/12/download-linux-kernel-sourcecode-from.html
--
regards
Andrzej Kardas
http://www.linux.mynotes.pl
next prev parent reply other threads:[~2011-03-06 10:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-05 5:42 From which point onwards the kernel execution starts AQ Tast
2011-03-05 8:26 ` Mulyadi Santosa
2011-03-05 10:41 ` Andrzej Kardas
2011-03-06 8:01 ` Mulyadi Santosa
2011-03-06 10:26 ` Andrzej Kardas [this message]
2011-03-07 16:18 ` Mulyadi Santosa
2011-03-08 8:13 ` Ashwath
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=4D73613F.8080201@o2.pl \
--to=andrzej-kardas@o2.pl \
--cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.