Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CmpPG-0004Oo-OK for qemu-devel@nongnu.org; Fri, 07 Jan 2005 03:23:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CmpPG-0004Oc-9w for qemu-devel@nongnu.org; Fri, 07 Jan 2005 03:23:38 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CmpPG-0004OZ-7S for qemu-devel@nongnu.org; Fri, 07 Jan 2005 03:23:38 -0500 Received: from [202.165.102.88] (helo=web15808.mail.cnb.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CmpDe-0000l1-MK for qemu-devel@nongnu.org; Fri, 07 Jan 2005 03:11:40 -0500 Message-ID: <20050107081132.24059.qmail@web15808.mail.cnb.yahoo.com> Date: Fri, 7 Jan 2005 16:11:32 +0800 (CST) From: zhao jun MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1796040890-1105085492=:22919" Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] how to debug a simulator Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --0-1796040890-1105085492=:22919 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit 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兆,雅虎电邮自助扩容! --0-1796040890-1105085492=:22919 Content-Type: text/html; charset=gb2312 Content-Transfer-Encoding: 8bit
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兆,雅虎电邮自助扩容! --0-1796040890-1105085492=:22919--