Skip to contentSkip to conversation

how to debug a simulator

Qemu-devel zhao jun 1 participant 1 message Jan 7, 2005

lore
Share & tools
lore

zhao jun

author
#0 lore raw

now, we are writing a simulator(simon) like qemu. When we try to run uclinux on our simulator, the os runs, but the running break off at the point:

"Found an Atmel AT91%c40xxx %s processor
Atmel AT91 series microcontroller support (c) 2000,2001 Lineo Inc. kernel binary is in RAM -- reserving %dk for the kernel Cannot use %d bytes out of %d in order = %d block mallocs

Kernel panic: %s

In swapper task - not syncing
Rebooting in %d seconds.."

Why the "%d %c %s" cann't be replace by some correct infomations. When writing qemu simulator, how do you debug it?

赵军

---------------------------------
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!