This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] is_name_suffix("") is always non-zero
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 28 Feb 2011 10:45:24 +0100
- Subject: Re: [PATCH] is_name_suffix("") is always non-zero
- References: <m27hcmsapy.fsf@igel.home> <20110228044705.GB30306@adacore.com>
Joel Brobecker <brobecker@adacore.com> writes:
>> 2011-02-26 Andreas Schwab <schwab@linux-m68k.org>
>>
>> * ada-lang.c (compare_names): Call is_name_suffix with string1
>> instead of string2.
>
> Thanks for spotting that. Was this from code inspection, or did you
> hit a bug?
The former.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."