From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DzDt4-0001lr-Dy for qemu-devel@nongnu.org; Sun, 31 Jul 2005 09:29:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DzDsw-0001gq-TS for qemu-devel@nongnu.org; Sun, 31 Jul 2005 09:29:49 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzDsv-0001dF-4k for qemu-devel@nongnu.org; Sun, 31 Jul 2005 09:29:45 -0400 Received: from [65.74.133.11] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DzDyH-0005MT-7a for qemu-devel@nongnu.org; Sun, 31 Jul 2005 09:35:17 -0400 From: Paul Brook Subject: Re: [Qemu-devel] no start on amd64 (was "Nothing happens") Date: Sun, 31 Jul 2005 14:22:56 +0100 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507311422.56555.paul@codesourcery.com> 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 Cc: Rudi Lippert On Sunday 31 July 2005 13:47, Rudi Lippert wrote: > Should a qemu backtrace be 411 lines long? > Actually, when I start qemu 0.7.1 (kqemu enabled, but makes no difference), > it doesn't do anything. I hit CTRL-C to get a backtrace of the situation. > Qemu has never worked on this setup, and the problem has always been the > same. > Any ideas? Unless you overrode the default, qemu is compiled with optimization. In this case gcc and gdb will do their best, but it's normal for the debug information to be inaccurate. In particular there's no requirement that the compiler create a full stack frame, so you're relying on being able to track where the compiler happens to put things. Different toolchain versions are able to do this with different levels of accuracy. If you're backtracing through dynamically generated code that will almost certainly confuse the debugger. Once you hit a frame that gdb doesn't know about [???] all bets are off, and the rest of the backtrace is most likely random garbage. Please read the 5th Q here: http://www.geocities.com/nixling_gone/faq.html Paul