summaryrefslogtreecommitdiff
path: root/gdb/dictionary.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-07-10 20:12:30 +0000
committerDoug Evans <dje@google.com>2012-07-10 20:12:30 +0000
commite1dd9547b6e990d6c3a35106b5a21dc3649b1be2 (patch)
tree9ee47eb7e86c5a54a5270456dd2c6181c1336b7d /gdb/dictionary.h
parenta78ba7da2c1b39cfa083ef3bc83aadcff4f32909 (diff)
downloadgdb-e1dd9547b6e990d6c3a35106b5a21dc3649b1be2.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);