From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 901 invoked by alias); 15 Sep 2004 10:12:16 -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 877 invoked from network); 15 Sep 2004 10:12:12 -0000 Received: from unknown (HELO cpc4-oxfd5-5-0-cust12.oxfd.cable.ntl.com) (81.105.116.12) by sourceware.org with SMTP; 15 Sep 2004 10:12:12 -0000 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by cpc4-oxfd5-5-0-cust12.oxfd.cable.ntl.com (8.12.11/8.12.11) with ESMTP id i8FAEuOJ020583 for ; Wed, 15 Sep 2004 11:14:57 +0100 Subject: whodunnit? info sources now returns duplicates From: David Lecomber To: gdb@sources.redhat.com Content-Type: text/plain Message-Id: <1095243296.24882.5.camel@cpc4-oxfd5-5-0-cust12.oxfd.cable.ntl.com> Mime-Version: 1.0 Date: Wed, 15 Sep 2004 10:12:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00119.txt.bz2 This is a regression bug -- the version I have tested this are from CVS on 2004-08-17, and 2004-06-22. Any test program: foo/test.c int main() { int x; } now compile - but in the directory above foo. gcc -g foo/test.c run gdb ./a.out For 20040622, only foo/test.c is listed in info sources (correct) For 20040817 (and recent 20040913) foo/test.c and test.c are listed.. (incorrect) When you add a breakpoint to main, and do info sources, the duplicate vanishes.. Any takers? d.