From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77641 invoked by alias); 27 Feb 2019 20:02:19 -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 77624 invoked by uid 89); 27 Feb 2019 20:02:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*UA:65.0, H*x:65.0, H*x:YMailNorrin, H*UA:YMailNorrin X-HELO: sonic307-7.consmr.mail.ir2.yahoo.com Received: from sonic307-7.consmr.mail.ir2.yahoo.com (HELO sonic307-7.consmr.mail.ir2.yahoo.com) (87.248.110.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 27 Feb 2019 20:02:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1551297733; bh=C4huW/p5RCfHFNxU3WjxAkY5yxpNl+IskS43d4CtPwo=; h=Date:From:To:Subject:References:From:Subject; b=QKoaqFM0tuo+wKgKpjPLqDBH42994EuC2Jzofg9uO3fr/Jlk8a6FFpmVULqMptmGpyE1GZJqFeXEwFbiIEKrUl53qVKROBVqz5qvOzXY1Ns4UAHe8h9vGK5V8Gc4SCuRc2d/ok1xy3/k8XWydWWKwjbgEmdaqtYWTPQ1t0+7apXi2n8fipWx8ax2sOBFMhQQf79CxNo9BK7jE32VP0Oq67BJ/ZlF3WipKGTFj2KPLdstd+r4Fvnt4GP1U6hPloUNKyLLCApiTAnxSL0WiGisbGAgxP1XztrvHbbUFvfiWZ7iWJJ2tDbD3ECMnCho9ZYEuykKh81j4KrmcUenQ0HdsQ== Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Wed, 27 Feb 2019 20:02:13 +0000 Date: Wed, 27 Feb 2019 20:02:00 -0000 From: "Hannes Domani via gdb" Reply-To: Hannes Domani To: GDB Development Message-ID: <948301287.10289911.1551297622910@mail.yahoo.com> Subject: question about expand_symtabs_matching() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <948301287.10289911.1551297622910.ref@mail.yahoo.com> X-IsSubscribed: yes X-SW-Source: 2019-02/txt/msg00077.txt.bz2 Hello This is probably a stupid question. In gdb/linespec.c:1146 is this call: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (objfile->sf) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 objfile->sf->qf->expand_symtabs_= matching (objfile, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 NULL, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 looku= p_name, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 NULL,= NULL, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 searc= h_domain); What exactly is this call doing, since none of the 3 callback functions is = used? This is slowing gdb down quite a lot if you have pending breakpoints, and a= re=20 loading/unloading many shared libraries. When I removed it, I couldn't see any different behavior (other than being = faster). I'm on Windows, specifically x86_64-w64-mingw32. Regards Hannes Domani