Fix the 2012-01-26 regression by la_get_symbol_name_match_p.
	* linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P
	result.
This commit is contained in:
Jan Kratochvil 2012-01-27 20:31:13 +00:00
parent be07f1a20c
commit b3b8b9346a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix the 2012-01-26 regression by la_get_symbol_name_match_p.
* linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P
result.
2012-01-27 Doug Evans <dje@google.com>
* configure.ac (with_python): Fix absolute path handling for win32.

View File

@ -340,7 +340,7 @@ iterate_name_matcher (const char *name, void *d)
{
const struct symbol_matcher_data *data = d;
if (data->symbol_name_match_p (name, data->lookup_name))
if (data->symbol_name_match_p (name, data->lookup_name) == 0)
return 1;
return 0;
}