X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fdictionary.h;h=c816f720cf1d1caa995961042f18ba0f8baa1dae;hb=43684a7b844bce64735940b55b667f7086fa3d44;hp=b5b794cbed1fdcebd5e93a8af19cab11f7be61e4;hpb=2edb89d30e939aeafb135c42ad96e80716f984b9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/dictionary.h b/gdb/dictionary.h index b5b794cbed..c816f720cf 100644 --- a/gdb/dictionary.h +++ b/gdb/dictionary.h @@ -1,6 +1,6 @@ /* Routines for name->symbol lookups in GDB. - Copyright (C) 2003, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2003-2016 Free Software Foundation, Inc. Contributed by David Carlton and by Kealia, Inc. @@ -85,6 +85,11 @@ extern void dict_free (struct dictionary *dict); extern void dict_add_symbol (struct dictionary *dict, struct symbol *sym); +/* Utility to add a list of symbols to a dictionary. */ + +extern void dict_add_pending (struct dictionary *dict, + const struct pending *symbol_list); + /* Is the dictionary empty? */ extern int dict_empty (struct dictionary *dict); @@ -152,7 +157,7 @@ extern struct symbol *dict_iter_match_first (const struct dictionary *dict, dict_iter_match_first), or NULL if there are no more such symbols. Don't call this if you've previously received NULL from dict_iterator_match_first or dict_iterator_match_next on this - iteration. And don't call it unless ITERATOR was created by a + iteration. And don't call it unless ITERATOR was created by a previous call to dict_iter_match_first with the same NAME and COMPARE. */ extern struct symbol *dict_iter_match_next (const char *name,