From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16401 invoked by alias); 21 Nov 2013 21:58:47 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 16388 invoked by uid 89); 21 Nov 2013 21:58:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_40,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Nov 2013 21:58:45 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rALLwapP018721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 21 Nov 2013 16:58:37 -0500 Received: from barimba (ovpn-113-124.phx2.redhat.com [10.3.113.124]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id rALLwZF8022143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 21 Nov 2013 16:58:35 -0500 From: Tom Tromey To: Pedro Alves Cc: lgustavo@codesourcery.com, "gdb\@sourceware.org" , "Maciej W. Rozycki" Subject: Re: Unreliable BFD caching heuristic References: <528E454F.6060003@codesourcery.com> <528E49B8.8090409@redhat.com> Date: Thu, 21 Nov 2013 21:58:00 -0000 In-Reply-To: <528E49B8.8090409@redhat.com> (Pedro Alves's message of "Thu, 21 Nov 2013 17:58:16 +0000") Message-ID: <87bo1dfmd0.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-11/txt/msg00082.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: >> Do you have any proposals on ways to improve this heuristic? Pedro> Compare st_ino/st_dev, and don't share if the system doesn't Pedro> provide meaningful bfd_stat data? Pedro> symfile.c:separate_debug_file_exists does this already, Pedro> and then does a CRC check if all else fails. Not sure Pedro> whether the CRC part would be a good idea here. Using the nanosecond information given by stat would help, at least on platforms where this exists. Tom