From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31052 invoked by alias); 19 Jan 2012 15:33:03 -0000 Received: (qmail 31026 invoked by uid 22791); 19 Jan 2012 15:33:02 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Jan 2012 15:32:42 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q0JFWfe8017083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 19 Jan 2012 10:32:41 -0500 Received: from host2.jankratochvil.net (ovpn-116-21.ams2.redhat.com [10.36.116.21]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q0JFWb1s018256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 19 Jan 2012 10:32:40 -0500 Date: Thu, 19 Jan 2012 15:39:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Performance regression (12x): Re: RFC: add relative file name handling for linespecs Message-ID: <20120119153236.GA6229@host2.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00698.txt.bz2 Hi Tom, I have noticed nightly regression testing to start randomly timing out a lot for gdb.ada/* testcases, narrowed it down to this check-in. The failures are not reproducible standalone but they happen during the heavy nigly load, still the testcase runtime is proving enough something is wrong. Thanks, Jan On Mon, 16 Jan 2012 21:40:05 +0100, Tom Tromey wrote: > Here is the version I am checking in. commit 024e0e8b29c57131c65424b31e931e6f8f511248 Author: Tom Tromey Date: Mon Jan 16 20:40:47 2012 +0000 gdb * NEWS: Add item. * symtab.h (compare_filenames_for_search): Declare. * symtab.c (compare_filenames_for_search): New function. (iterate_over_some_symtabs): Use it. * symfile.h (struct quick_symbol_functions) : Change spec. * psymtab.c (partial_map_symtabs_matching_filename): Use compare_filenames_for_search. Update for new spec. * dwarf2read.c (dw2_map_symtabs_matching_filename): Use compare_filenames_for_search. Update for new spec. * breakpoint.c (clear_command): Use compare_filenames_for_search. gdb/doc * gdb.texinfo (Specify Location): Document relative file name handling. gdb/testsuite * gdb.linespec/linespec.exp: Change some tests to use $decimal. Add tests for relative directory. sync;time runtest gdb.ada/tasks.exp 024e0e8b29c57131c65424b31e931e6f8f511248 0m6.412s eb28de4a09f016d3de7caccec781eb70995a4001 0m0.538s