This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Revisit PR 16253 ("Attempt to use a type name...")
- From: Keith Seitz <keiths at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 17 Jun 2015 08:50:03 -0700
- Subject: Re: [RFC] Revisit PR 16253 ("Attempt to use a type name...")
- Authentication-results: sourceware.org; auth=none
- References: <1434049038-7891-1-git-send-email-keiths at redhat dot com> <20150617123357 dot GA12138 at host1 dot jankratochvil dot net>
On 06/17/2015 05:33 AM, Jan Kratochvil wrote:
> On Thu, 11 Jun 2015 20:57:18 +0200, Keith Seitz wrote:
>> PR 16253
>> * block.c (block_lookup_symbol_primary): If a symbol is found
>> which does not exactly match the requested domain, keep searching
>> for an exact match. Otherwise, return the previously found "best"
>> symbol.
>
> Is there a reason why you haven't patched also block_lookup_symbol?
Two reasons:
1) I posted this RFC to raise discussion whether this was worth
pursuing. No need to expend any energy on something that has zero chance
of being accepted by maintainers.
2) More important I have not discovered/attempted to coverage test
lookup_block_symbol to trigger this bug.
I'll be attempting to do that today.
Keith