From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yolkfull Chow Subject: Re: GDB Debugging Date: Sun, 25 Oct 2009 00:44:25 +0800 Message-ID: <20091024164424.GA4196@aFu.nay.redhat.com> References: <200909161708.46412.arnd@arndb.de> <20090916151922.GD5513@redhat.com> <200909161727.26153.arnd@arndb.de> <4158487B9DEE0647BA23911D1C22795712DFC42545@orsmsx501.amr.corp.intel.com> <4AB10C17.7090708@siemens.com> <4158487B9DEE0647BA23911D1C22795712DFC425C7@orsmsx501.amr.corp.intel.com> <4AB1143A.5050606@siemens.com> <4158487B9DEE0647BA23911D1C22795712DFC42756@orsmsx501.amr.corp.intel.com> <4AB1F4E2.7030901@siemens.com> <4158487B9DEE0647BA23911D1C22795712E24F98DA@orsmsx501.amr.corp.intel.com> Reply-To: Yolkfull Chow Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Cc: "kvm@vger.kernel.org" To: "Saksena, Abhishek" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:62632 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751074AbZJXQoW convert rfc822-to-8bit (ORCPT ); Sat, 24 Oct 2009 12:44:22 -0400 Content-Disposition: inline In-Reply-To: <4158487B9DEE0647BA23911D1C22795712E24F98DA@orsmsx501.amr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Oct 23, 2009 at 09:19:40AM -0700, Saksena, Abhishek wrote: > > Hi Guys, > > Any help will be appreciated on following issue. I have been struggling on this for quite some time... > > > -Abhishek > > > > -----Original Message----- > From: Saksena, Abhishek > Sent: Tuesday, October 20, 2009 11:49 AM > To: 'Jan Kiszka' > Cc: kvm@vger.kernel.org > Subject: GDB + KVM Debug > > I have now tried using both > > > Set arch i8086 and > Set arch i386:x86-64:intel Try 'set architecture i386:x86-64'. > > But still see the same issue. Do I need to apply any patch? > > > Abhishek > > -----Original Message----- > From: Jan Kiszka [mailto:jan.kiszka@siemens.com] > Sent: Thursday, September 17, 2009 1:36 AM > To: Saksena, Abhishek > Cc: kvm@vger.kernel.org > Subject: Re: GDB + KVM Debug > > Saksena, Abhishek wrote: > > I am using KVM-88. However I can't get gdb still working. I stared qemu with -s -S option and when I try to connect gdb to it I get following error:- > > > > (gdb) target remote lochost:1234 > > lochost: unknown host > > lochost:1234: No such file or directory. > > (gdb) target remote locahost:1234 > > locahost: unknown host > > locahost:1234: No such file or directory. > > (gdb) target remote localhost:1234 > > Remote debugging using localhost:1234 > > [New Thread 1] > > Remote 'g' packet reply is too long: 0000000000000000000000000000000000000000000000002306000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f0ff0000000000000230020000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007f03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 > 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 > > (gdb) > > > > Try 'set arch ' before connecting. This is required > if you didn't load the corresponding target image into gdb. > > Jan > > -- > Siemens AG, Corporate Technology, CT SE 2 > Corporate Competence Center Embedded Linux > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html