gdb
[Top][All Lists]
Advanced

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

[help]While I use qemu and gdb to debug a kernel, it stucks in "[0]kdb>"


From: ZiBin Huang
Subject: [help]While I use qemu and gdb to debug a kernel, it stucks in "[0]kdb>" and can't enter anything
Date: Mon, 14 Oct 2013 10:55:10 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

gdb show that the statement that is excuted is
93                      ret = nb->notifier_call(nb, val, v);
and qemu just says "[0]kdb>" but i can't type a word in it.

When I run :

qemu-system-x86_64  -kernel /home/mm/kdb-work/bzImage  -append
"root=/dev/sda" -boot c -hda /home/mm/kdb-work/busybox.img -k en-us

The qemu starts but it seems that there is a problem because it says
"Kernel panic -not syncing:No init found"

I want to know if this make the problem?
Does any body can help me? Thanks a lot



reply via email to

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