From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LM40p-0007Gc-Fx for qemu-devel@nongnu.org; Sun, 11 Jan 2009 12:22:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LM40o-0007EP-5A for qemu-devel@nongnu.org; Sun, 11 Jan 2009 12:22:11 -0500 Received: from [199.232.76.173] (port=52607 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LM40n-0007E5-Rw for qemu-devel@nongnu.org; Sun, 11 Jan 2009 12:22:09 -0500 Received: from amistad.itbs.cz ([81.0.238.226]:53546) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LM40n-0007iR-Bu for qemu-devel@nongnu.org; Sun, 11 Jan 2009 12:22:09 -0500 Received: from localhost (localhost [127.0.0.1]) by amistad.itbs.cz (Postfix) with ESMTP id 9914E2F92FA for ; Sun, 11 Jan 2009 18:22:12 +0100 (CET) Received: from amistad.itbs.cz ([127.0.0.1]) by localhost (amistad.itbs.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19537-01 for ; Sun, 11 Jan 2009 18:22:12 +0100 (CET) Received: from [10.0.0.14] (182.70.broadband6.iol.cz [88.101.70.182]) by amistad.itbs.cz (Postfix) with ESMTP id 76C072F92FA for ; Sun, 11 Jan 2009 18:22:10 +0100 (CET) Message-ID: <496A2ABB.9010505@jermar.eu> Date: Sun, 11 Jan 2009 18:22:03 +0100 From: Jakub Jermar MIME-Version: 1.0 References: <496A07B3.3090706@jermar.eu> In-Reply-To: <496A07B3.3090706@jermar.eu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: Using GDB to debug the sparc64 target 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 Jakub Jermar wrote: > I'd like to help with debugging the sparc64 target (to get HelenOS > run on it). I'd like to use gdb for that purpose, however, I get > the following error when I try to connect to qemu from gdb: > > GNU gdb 6.8 > Copyright (C) 2008 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "--host=i686-pc-linux-gnu --target=sparc64-linux-gnu". > (gdb) target remote localhost:1234 > Remote debugging using localhost:1234 > [New Thread 1] > Remote 'g' packet reply is too long: 000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00 > 00000000000000000000000000000000000000000000000000000000000000000000000000001fff0000020000001fff00000240000000000000407000000000000000000000000000000000000000000000000 Ok, I was able to solve this problem by: set architecture sparc:v9 Thanks, Jakub