From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6324 invoked by alias); 15 Sep 2004 17:49: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 6299 invoked from network); 15 Sep 2004 17:49:15 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 15 Sep 2004 17:49:15 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i8FHnEM1001271 for ; Wed, 15 Sep 2004 13:49:15 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i8FHn8r05086; Wed, 15 Sep 2004 13:49:14 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 0F4E528D2; Wed, 15 Sep 2004 13:46:57 -0400 (EDT) Message-ID: <41488010.5080104@gnu.org> Date: Wed, 15 Sep 2004 17:49:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040831 MIME-Version: 1.0 To: David Lecomber Cc: gdb@sources.redhat.com Subject: Re: whodunnit? info sources now returns duplicates References: <1095243296.24882.5.camel@cpc4-oxfd5-5-0-cust12.oxfd.cable.ntl.com> In-Reply-To: <1095243296.24882.5.camel@cpc4-oxfd5-5-0-cust12.oxfd.cable.ntl.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00122.txt.bz2 Lets use this to remind ourselves that what we don't test (as in gdb/testsuite/) doesn't work. Andrew > 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..