Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759356AbXHQUtc (ORCPT ); Fri, 17 Aug 2007 16:49:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754086AbXHQUtY (ORCPT ); Fri, 17 Aug 2007 16:49:24 -0400 Received: from nf-out-0910.google.com ([64.233.182.188]:21779 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753789AbXHQUtX (ORCPT ); Fri, 17 Aug 2007 16:49:23 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=B2z58yXGkq0yLM3zRTHc752SlotcL2H5zijONc5pqFMSiblt43Y3Gs0epjZ48qZvrYjacSqEytztvFQzOnYOCKq2uRsnfFFsQyygWOf9WXKu0Lf1793g/g777hymDnHH9l3PmC17xh0wlwJDLmjNdbavsT9Gu3CmljeNXMHv6dg= Message-ID: Date: Fri, 17 Aug 2007 22:49:21 +0200 From: "Xu Yang" To: linux-kernel@vger.kernel.org Subject: how to add debug information into the vmlinux MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 721 Lines: 24 Hello everyone, I am trying to port kernel 2.6.19 onto my system.so I need the c code , which can show me where the program is running. I add -g when I compile it. after I got the vmlinux( uncompressed) I used arm-none-eabi-objcopy --change-addresses 0x40000000 to change the start address. it seems that the debug information is strange. expecially after the mmu is turned on , it totally disappreared. anyone knows how to handle this? thanks in advance. regards, yang - 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/