Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758628AbXHRTyS (ORCPT ); Sat, 18 Aug 2007 15:54:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757896AbXHRTyJ (ORCPT ); Sat, 18 Aug 2007 15:54:09 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:39605 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757581AbXHRTyI (ORCPT ); Sat, 18 Aug 2007 15:54:08 -0400 Date: Sat, 18 Aug 2007 21:54:07 +0200 (CEST) From: Jan Engelhardt To: Xu Yang cc: Jesper Juhl , linux-kernel@vger.kernel.org Subject: Re: how to add debug information into the vmlinux In-Reply-To: Message-ID: References: <9a8748490708171430u2be506canf640d5c8c97149c6@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 797 Lines: 22 On Aug 18 2007 21:49, Xu Yang wrote: > >I tried as what you told me. and the vmlinux does contain debug >information. but the start address of this vmlinux is 0xc0008000. when >I tried to run this vmlinux, the program always exit at 0x80a0. I >checked out that here is the place mmu is turned on. >so I used objcopy --change-addresses 0x40000000 to change the start >address of the vmlinux, and the program goes further.but the debug >information disappeared. Are you using an UML image... or were you really trying to gdb a real vmlinux? Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/