From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18522 invoked by alias); 15 Jun 2004 13:51:29 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18510 invoked from network); 15 Jun 2004 13:51:25 -0000 Received: from unknown (HELO lakermmtao10.cox.net) (68.230.240.29) by sourceware.org with SMTP; 15 Jun 2004 13:51:25 -0000 Received: from white ([68.9.64.121]) by lakermmtao10.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040615135123.DWWF25843.lakermmtao10.cox.net@white> for ; Tue, 15 Jun 2004 09:51:23 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1BaELU-00050B-00 for ; Tue, 15 Jun 2004 09:51:24 -0400 Date: Tue, 15 Jun 2004 13:51:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: Re: info sources regression with dwarf2/stabs Message-ID: <20040615135123.GA19222@white> Mail-Followup-To: gdb@sources.redhat.com References: <20040611182915.GA15256@white> <20040611183510.GB15256@white> <20040612021445.GA15520@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040612021445.GA15520@white> User-Agent: Mutt/1.3.28i X-SW-Source: 2004-06/txt/msg00151.txt.bz2 On Fri, Jun 11, 2004 at 10:14:45PM -0400, Bob Rossi wrote: > On Fri, Jun 11, 2004 at 02:35:10PM -0400, Bob Rossi wrote: > > On Fri, Jun 11, 2004 at 02:29:16PM -0400, Bob Rossi wrote: > > > Hi, > > > > > > A user of -file-list-exec-source-files noticed that this command does > > > not initially list the files that are in a library. For example, > > > > > > I have > > > $ ls > > > Makefile lib.c lib.h lib.o libmilib.a main main.c > > > > > > And > > > $ cat Makefile > > > all: > > > gcc -c -g -Wall lib.c > > > ar cru libmilib.a lib.o > > > gcc -g -Wall main.c -o main -L. -lmilib -I. > > > > > > When I do -file-list-exec-source-files originally, it doesn't show > > > lib.c, after I do 'list lib.c:1' it will then show the filename. Also, I > > > believe it shows all of the filenames in the library. > > > > > > My question is, is there any way to get this funcionality from the get > > > go? Load the psymtabs for all the libraries? > > > > > > Or is there a GDB command that forces loading all symbols into the > > > partial symbol table at start? > > > > Unfortunatly, I forgot to add one thing. The files from all libraries do > > show up when the stabs debugging format is used. It seems like this is a > > dwarf2 problem. Anyone know if this is a bug? > > > > Or something maybe I could look into? > > Finally, this is also a problem with the 'info sources' command. Does > that make the problem a little more interesting to anyone? :) Ping, any ideas? Thanks, Bob Rossi