From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LM4eu-0001Sy-1Z for qemu-devel@nongnu.org; Sun, 11 Jan 2009 13:03:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LM4es-0001Sm-90 for qemu-devel@nongnu.org; Sun, 11 Jan 2009 13:03:35 -0500 Received: from [199.232.76.173] (port=32800 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LM4es-0001Sj-2l for qemu-devel@nongnu.org; Sun, 11 Jan 2009 13:03:34 -0500 Received: from mail-bw0-f12.google.com ([209.85.218.12]:52859) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LM4er-00074w-FE for qemu-devel@nongnu.org; Sun, 11 Jan 2009 13:03:33 -0500 Received: by mail-bw0-f12.google.com with SMTP id 5so20398170bwz.10 for ; Sun, 11 Jan 2009 10:03:33 -0800 (PST) Message-ID: Date: Sun, 11 Jan 2009 20:02:49 +0200 From: "Blue Swirl" Subject: Re: [Qemu-devel] Re: Using GDB to debug the sparc64 target In-Reply-To: <496A2ABB.9010505@jermar.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <496A07B3.3090706@jermar.eu> <496A2ABB.9010505@jermar.eu> 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 On 1/11/09, Jakub Jermar wrote: > 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 Does not help here.