From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32428 invoked by alias); 23 Nov 2005 16:56:16 -0000 Received: (qmail 32413 invoked by uid 22791); 23 Nov 2005 16:56:15 -0000 X-Spam-Check-By: sourceware.org Received: from eastrmmtao02.cox.net (HELO eastrmmtao02.cox.net) (68.230.240.37) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 23 Nov 2005 16:56:12 +0000 Received: from white ([68.9.65.164]) by eastrmmtao02.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051123165505.DIQY8508.eastrmmtao02.cox.net@white> for ; Wed, 23 Nov 2005 11:55:05 -0500 Received: from bob by white with local (Exim 3.36 #1 (Debian)) id 1EexuO-0000vR-00 for ; Wed, 23 Nov 2005 11:55:48 -0500 Date: Wed, 23 Nov 2005 18:31:00 -0000 From: Bob Rossi To: GDB Subject: info sources command question Message-ID: <20051123165548.GA3114@white> Mail-Followup-To: GDB Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00528.txt.bz2 Hi all! I have a simple program in a single file called test.c. If I load it up in GDB, and then as the first command run 'info sources', I get this output: (tgdb) info sources Source files for which symbols have been read in: /home/bob/cvs/cgdb/cgdb/cgdb/tgdb/tgdb-base/src/test.c Source files for which symbols will be read in on demand: crtn.S, test.c, crti.S, start.S, ../sysdeps/i386/elf/start.S The question I have regarding this output is if we think test.c should be in the list twice. Once with a full path, and once with just the filename. Is this proper output? or should it be in there only once? Unless otherwise stated, it seems like a bug to me. Especially since the full path is in the "already read symbols list" and the filename is in the "Symbols will be read in" list. Thanks, Bob Rossi