From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: GDB + KVM Debug Date: Wed, 16 Sep 2009 18:37:14 +0200 Message-ID: <4AB1143A.5050606@siemens.com> References: <20090916100438.GA30036@redhat.com> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" To: "Saksena, Abhishek" Return-path: Received: from goliath.siemens.de ([192.35.17.28]:18499 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753605AbZIPQhO (ORCPT ); Wed, 16 Sep 2009 12:37:14 -0400 In-Reply-To: <4158487B9DEE0647BA23911D1C22795712DFC425C7@orsmsx501.amr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Saksena, Abhishek wrote: > Thanks for the quick reply. > >> What versions (kernel/kvm-kmod and qemu-kvm) are you using? What is your >> host, what your target architecture/operating mode (real mode, 32 bit >> prot. mode, 64 bit mode)? > > I am using KVM-74? Do I need to upgrade then? Yes, definitely. > > My target is x86 and we want to debug all real, prot. and 64 bit mode. If your host is running 64 bit mode but your target uses less, you need an extra patch [1] to deal with gdb limitations and a lacking workaround in qemu(-kvm). Jan [1]http://git.kiszka.org/?p=qemu-kvm.git;a=shortlog;h=refs/heads/queues/gdb -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux