From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19533 invoked by alias); 24 Mar 2018 20:44:11 -0000 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 Received: (qmail 18668 invoked by uid 89); 24 Mar 2018 20:44:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:514, origin, HContent-Transfer-Encoding:8bit X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 24 Mar 2018 20:44:09 +0000 Received: by simark.ca (Postfix, from userid 112) id 9E28D1E77E; Sat, 24 Mar 2018 16:44:07 -0400 (EDT) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id DE5DB1E030; Sat, 24 Mar 2018 16:44:06 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sat, 24 Mar 2018 20:44:00 -0000 From: Simon Marchi To: Wei-min Pan Cc: gdb-patches@sourceware.org, Yao Qi Subject: Re: [PATCH PR gdb/18071] TLS variables can't be resolved on aarch64-linux-gnu In-Reply-To: <48a0a2d8-09a6-1159-8192-8d102ff100b3@oracle.com> References: <1509669516-47946-1-git-send-email-weimin.pan@oracle.com> <402e4a8c-eaf9-a31e-9925-3125f8d149f9@simark.ca> <6c9fb8cc-eb2a-86c3-9e34-fac7c97f6b2f@oracle.com> <8c40379beb8ea8756a3b9075ce6bf4c4@simark.ca> <9df4193c-828a-7b27-292f-f2dab84b3efb@oracle.com> <9a6298ed-bde2-1e66-0b87-a7492cf3a903@oracle.com> <50bbde05-c32b-f273-664a-e9ecbe417b6d@oracle.com> <88889d0ddb7b55c57462cc482246c09b@simark.ca> <48a0a2d8-09a6-1159-8192-8d102ff100b3@oracle.com> Message-ID: X-Sender: simark@simark.ca User-Agent: Roundcube Webmail/1.3.4 X-SW-Source: 2018-03/txt/msg00497.txt.bz2 On 2018-03-24 16:11, Wei-min Pan wrote: > Big difference is  lookup_minimal_symbol_and_objfile(char *name) only > searches the ordinary hash table for "name" > while lookup_bound_minimal_symbol(char *name) does both the ordinary > hash table  and the demangled hash table. Am I missing something? Your patch (the origin of this thread) changed lookup_minimal_symbol_and_objfile to also search for demangled minsyms, didn't it? Simon