summaryrefslogtreecommitdiff
path: root/gdb/dictionary.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-07-10 20:12:49 +0000
committerDoug Evans <dje@google.com>2012-07-10 20:12:49 +0000
commit0bfa869d53ae28e6707936910a55317dfe816e14 (patch)
tree38966dfc4831208f2e5603106ac74b1e92fb0816 /gdb/dictionary.h
parent298a9cf0efcb7be466df40d6c31c0b4135cf0ac7 (diff)
downloadbinutils-gdb-0bfa869d53ae28e6707936910a55317dfe816e14.tar.gz
* dictionary.c (dict_add_pending): New function.
* dictionary.h (dict_add_pending): Declare.
Diffstat (limited to 'gdb/dictionary.h')
-rw-r--r--gdb/dictionary.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/dictionary.h b/gdb/dictionary.h
index 1d58fabfe96..1f012f374ae 100644
--- a/gdb/dictionary.h
+++ b/gdb/dictionary.h
@@ -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);