From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29506 invoked by alias); 12 Jun 2004 02:14:59 -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 29480 invoked from network); 12 Jun 2004 02:14:54 -0000 Received: from unknown (HELO lakermmtao01.cox.net) (68.230.240.38) by sourceware.org with SMTP; 12 Jun 2004 02:14:54 -0000 Received: from white ([68.9.64.121]) by lakermmtao01.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040612021445.JKW18399.lakermmtao01.cox.net@white> for ; Fri, 11 Jun 2004 22:14:45 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1BYy2f-000449-00 for ; Fri, 11 Jun 2004 22:14:45 -0400 Date: Sat, 12 Jun 2004 02:14:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: info sources regression with dwarf2/stabs Message-ID: <20040612021445.GA15520@white> Mail-Followup-To: gdb@sources.redhat.com References: <20040611182915.GA15256@white> <20040611183510.GB15256@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040611183510.GB15256@white> User-Agent: Mutt/1.3.28i X-SW-Source: 2004-06/txt/msg00138.txt.bz2 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? :) Bob Rossi