From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25113 invoked by alias); 4 Jan 2007 03:30:17 -0000 Received: (qmail 25104 invoked by uid 22791); 4 Jan 2007 03:30:16 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 04 Jan 2007 03:30:11 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H2JIu-0000bA-Hf; Wed, 03 Jan 2007 22:30:08 -0500 Date: Thu, 04 Jan 2007 03:30:00 -0000 From: Daniel Jacobowitz To: Sandeep Joshi Cc: gdb@sourceware.org Subject: Re: GDB not able to debug files(dwarf2.0) loaded using add-symbol-file Message-ID: <20070104033008.GA2223@nevyn.them.org> Mail-Followup-To: Sandeep Joshi , gdb@sourceware.org References: <20061223212620.GC1091@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00052.txt.bz2 On Wed, Jan 03, 2007 at 03:14:30PM +0530, Sandeep Joshi wrote: > Memory layout: > Entry point: 0x40018000 > 0x40018000 - 0x40060000 is .init > 0x40060000 - 0x40259644 is .text > 0x40259650 - 0x40259f78 is __ex_table > 0x40259f78 - 0x4025a278 is .pci_fixup > 0x4025a278 - 0x4025d8f0 is __ksymtab > 0x4025d8f0 - 0x4025ddf0 is __ksymtab_gpl > 0x4025ddf0 - 0x40266070 is __ksymtab_strings > 0x40266070 - 0x40266174 is __param > 0x40268000 - 0x402b8c10 is .data > 0x402b8c20 - 0x402d995c is .bss > > add-symbol-file ~/arm-linux-gdb/bin/test_trap4.out 0x83d8 Then how does that overlap with the symbols for the kernel? It shouldn't. -- Daniel Jacobowitz CodeSourcery