This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit/Ada] psymbol search failure due to comparison function discrepancy
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 11 Oct 2013 17:57:18 +0400
- Subject: Re: [commit/Ada] psymbol search failure due to comparison function discrepancy
- Authentication-results: sourceware.org; auth=none
- References: <1381231039-4090-1-git-send-email-brobecker at adacore dot com> <87r4bs4zn0 dot fsf at fleche dot redhat dot com>
> Is it possible to construct a synthetic test case using the DWARF assembler?
>
> I ask because I think that, while the patch is fine, having two
> functions which must remain in sync semantically, where one such
> function is only used by Ada and has no test case for some branches, is
> definitely going to cause future regressions.
I agree. Let me see what I can do...
In the long term, I'd really like the psymtab to have the language,
so we can simply use the same routine for both sorting and searching.
ISTR other cases where I really wished I had access to the language
from the psymtab.
--
Joel