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: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 10 Oct 2013 14:52:35 -0600
- 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>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> This patch aims at restoring the compatibility between the two
Joel> functions, by adding case-sensitivity handling in the Ada comparison
Joel> function.
Joel> Tested on x86_64-linux. No testcase unfortunately, as the problem
Joel> is sensitive to symbol names and ordering, and the only reproducer
Joel> we have has non-contributable code in it.
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.
Tom