This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 7/9] Rewrite lookup_static_symbol to use gdbarch routine
- From: Doug Evans <xdje42 at gmail dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 10 Nov 2014 18:42:39 -0800
- Subject: Re: [PATCH 7/9] Rewrite lookup_static_symbol to use gdbarch routine
- Authentication-results: sourceware.org; auth=none
- References: <m3tx2qjee1 dot fsf at sspiff dot org> <87d29cvqfu dot fsf at codesourcery dot com> <m3389xbdk5 dot fsf at sspiff dot org> <m3a9439y60 dot fsf at sspiff dot org> <m361er9drc dot fsf at sspiff dot org> <m31tpd32xx dot fsf at sspiff dot org>
On Sat, Nov 8, 2014 at 11:30 AM, Doug Evans <xdje42@gmail.com> wrote:
> Doug Evans <xdje42@gmail.com> 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 <xdje42@gmail.com>
>>
>> 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.