[gdb/symtab] Prefer def over decl (inter-CU case)
[deliverable/binutils-gdb.git] / gdb / block.h
index 7c0b2d36966ae0054fc5dd462edda87ca8a063cc..50ab049f8e61b171c93048bc08a5f62ca640ef64 100644 (file)
@@ -342,6 +342,16 @@ extern struct symbol *block_iter_match_first (const struct block *block,
 extern struct symbol *block_iter_match_next
   (const lookup_name_info &name, struct block_iterator *iterator);
 
+/* Return true if symbol A is the best match possible for DOMAIN.  */
+
+extern bool best_symbol (struct symbol *a, const domain_enum domain);
+
+/* Return symbol B if it is a better match than symbol A for DOMAIN.
+   Otherwise return A.  */
+
+extern struct symbol *better_symbol (struct symbol *a, struct symbol *b,
+                                    const domain_enum domain);
+
 /* Search BLOCK for symbol NAME in DOMAIN.  */
 
 extern struct symbol *block_lookup_symbol (const struct block *block,
This page took 0.024192 seconds and 4 git commands to generate.