From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12521 invoked by alias); 11 Dec 2006 16:50:37 -0000 Received: (qmail 12512 invoked by uid 22791); 11 Dec 2006 16:50:36 -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; Mon, 11 Dec 2006 16:50:30 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GtoMD-0001GI-MU; Mon, 11 Dec 2006 11:50:25 -0500 Date: Mon, 11 Dec 2006 16:50:00 -0000 From: Daniel Jacobowitz To: Fabian Cenedese Cc: gdb@sourceware.org Subject: Re: Wrong source location in symbols Message-ID: <20061211165025.GA4815@nevyn.them.org> Mail-Followup-To: Fabian Cenedese , gdb@sourceware.org References: <5.2.0.9.1.20061211104829.0186dcc0@NT_SERVER> <5.2.0.9.1.20061211104829.0186dcc0@NT_SERVER> <5.2.0.9.1.20061211174350.01b23e70@NT_SERVER> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.1.20061211174350.01b23e70@NT_SERVER> 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: 2006-12/txt/msg00084.txt.bz2 On Mon, Dec 11, 2006 at 05:48:24PM +0100, Fabian Cenedese wrote: > I couldn't quite make out in symtab.c a place where the filenames > get set. But I saw in elfread.c, elf_symtab_read that quite some > minsyms got the filename write.c set though they are not in this > source file. I'll see what else I can find. It's not set per se; it's looked up when needed. Start with the code that prints out the dump and work from there. -- Daniel Jacobowitz CodeSourcery