From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15675 invoked by alias); 11 Jun 2004 18:29:19 -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 15652 invoked from network); 11 Jun 2004 18:29:17 -0000 Received: from unknown (HELO lakermmtao07.cox.net) (68.230.240.32) by sourceware.org with SMTP; 11 Jun 2004 18:29:17 -0000 Received: from white ([68.9.64.121]) by lakermmtao07.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040611182916.LJGD10348.lakermmtao07.cox.net@white> for ; Fri, 11 Jun 2004 14:29:16 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1BYqmC-0003yB-00 for ; Fri, 11 Jun 2004 14:29:16 -0400 Date: Fri, 11 Jun 2004 18:29:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: -file-list-exec-source-files && libraries Message-ID: <20040611182915.GA15256@white> Mail-Followup-To: gdb@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-SW-Source: 2004-06/txt/msg00134.txt.bz2 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? Thanks, Bob Rossi