From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13416 invoked by alias); 11 Nov 2014 02:42:47 -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 13373 invoked by uid 89); 11 Nov 2014 02:42:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f174.google.com Received: from mail-yk0-f174.google.com (HELO mail-yk0-f174.google.com) (209.85.160.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 11 Nov 2014 02:42:41 +0000 Received: by mail-yk0-f174.google.com with SMTP id q9so1993304ykb.19 for ; Mon, 10 Nov 2014 18:42:39 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.236.63.163 with SMTP id a23mr34199477yhd.41.1415673759480; Mon, 10 Nov 2014 18:42:39 -0800 (PST) Received: by 10.170.140.214 with HTTP; Mon, 10 Nov 2014 18:42:39 -0800 (PST) In-Reply-To: References: <87d29cvqfu.fsf@codesourcery.com> Date: Tue, 11 Nov 2014 02:42:00 -0000 Message-ID: Subject: Re: [PATCH 7/9] Rewrite lookup_static_symbol to use gdbarch routine From: Doug Evans To: Yao Qi Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00176.txt.bz2 On Sat, Nov 8, 2014 at 11:30 AM, Doug Evans wrote: > Doug Evans writes: >> [...] >> I filed pr 17564 to document the issue. >> https://sourceware.org/bugzilla/show_bug.cgi?id=17564 >> >> Attached is a testcase. >> I'll add the PR number to the above ChangeLog entry as well. >> >> 2014-11-07 Doug Evans >> >> PR symtab/17564 >> * gdb.base/symtab-search-order.exp: New file. >> * gdb.base/symtab-search-order.c: New file. >> * gdb.base/symtab-search-order-1.c: New file. >> * gdb.base/symtab-search-order-shlib-1.c: New file. > > Heh. > Testing on windows showed a bad testcase. > FAIL: gdb.base/symtab-search-order.exp: p shlib_1_func > > Here's a fix. > The testcase wasn't referencing anything in the shlib > so it was being discarded from the link. Hi. I've committed these patches.