From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: Re: GDBDSX support for new linux boot loading sequence? Date: Thu, 20 Jun 2013 14:42:43 -0700 Message-ID: <20130620144243.6dc39d18@mantra.us.oracle.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Zulauf, John" Cc: "Xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Tue, 18 Jun 2013 21:38:42 +0000 "Zulauf, John" wrote: > I recently tried to use gdbsx to debug a linux kernel running as an > HVM. Even with the correct vmlinux, gdb was unable to correctly map > the symbol information to the correct memory locations. Upon some > investigation it appears that the new Linux loader sequence is > loading the compressed vmlinux as a file, decompressing and then > relocating it before executing it. > > Are there known methods to getting gdbsx to work in the context of > this new loading scheme? > > Any pointers would be of great use. CCing xen-devel. Hmm... no, have not run into that, so never thought about it. I don't mind looking into it, but it will take some time. Meanwhile, if you find something, do let me know. BTW, please cc xen-devel in future. thanks Mukesh