aboutsummaryrefslogtreecommitdiff
path: root/gdb/dictionary.h
diff options
context:
space:
mode:
authorPaul N. Hilfinger <hilfinger@adacore.com>2010-06-09 04:22:27 +0000
committerPaul N. Hilfinger <hilfinger@adacore.com>2010-06-09 04:22:27 +0000
commit5ddb52faff9c516e96892f44e9e5b47d8b19e0bb (patch)
tree851cb9136a81de42ceea28f8adcef4b7b1b60696 /gdb/dictionary.h
parent14908e255ede7836f3ad0308e176bfd36260128e (diff)
downloadgdb-5ddb52faff9c516e96892f44e9e5b47d8b19e0bb.zip
gdb-5ddb52faff9c516e96892f44e9e5b47d8b19e0bb.tar.gz
gdb-5ddb52faff9c516e96892f44e9e5b47d8b19e0bb.tar.bz2
Trivial correction to two comments in dictionary.h.
Changelog: * dictionary.h (dict_iter_name_first, dict_iter_name_next): Refer to SYMBOL_SEARCH_NAME, not SYMBOL_BEST_NAME, in comments.
Diffstat (limited to 'gdb/dictionary.h')
-rw-r--r--gdb/dictionary.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dictionary.h b/gdb/dictionary.h
index 2d37405..2242a79 100644
--- a/gdb/dictionary.h
+++ b/gdb/dictionary.h
@@ -116,7 +116,7 @@ extern struct symbol *dict_iterator_first (const struct dictionary *dict,
extern struct symbol *dict_iterator_next (struct dict_iterator *iterator);
/* Initialize ITERATOR to point at the first symbol in DICT whose
- SYMBOL_BEST_NAME is NAME (as tested using strcmp_iw), and return
+ SYMBOL_SEARCH_NAME is NAME (as tested using strcmp_iw), and return
that first symbol, or NULL if there are no such symbols. */
extern struct symbol *dict_iter_name_first (const struct dictionary *dict,
@@ -124,7 +124,7 @@ extern struct symbol *dict_iter_name_first (const struct dictionary *dict,
struct dict_iterator *iterator);
/* Advance ITERATOR to point at the next symbol in DICT whose
- SYMBOL_BEST_NAME is NAME (as tested using strcmp_iw), or NULL if
+ SYMBOL_SEARCH_NAME is NAME (as tested using strcmp_iw), or NULL if
there are no more such symbols. Don't call this if you've
previously received NULL from dict_iterator_first or
dict_iterator_next on this iteration. And don't call it unless