diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-01-27 20:31:13 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-01-27 20:31:13 +0000 |
commit | b3b8b9346adb82fd2c210dc01590fd19bb2705e1 (patch) | |
tree | 8d2d9432f5368f1c6b18ab291c194e3c14652d77 /gdb | |
parent | be07f1a20c962deb662b93209b4ca91bc8e5cbd8 (diff) | |
download | gdb-b3b8b9346adb82fd2c210dc01590fd19bb2705e1.zip gdb-b3b8b9346adb82fd2c210dc01590fd19bb2705e1.tar.gz gdb-b3b8b9346adb82fd2c210dc01590fd19bb2705e1.tar.bz2 |
gdb/
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/linespec.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3cf8f2a..841e7ea 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/linespec.c b/gdb/linespec.c index dc9dfc6..50ebf6f 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -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; } |