2010-02-05 Hui Zhu <teawater@gmail.com>
[deliverable/binutils-gdb.git] / gdb / defs.h
index 5b5c261604bfcb3625b0001158ef71cb615aeb00..770d1719428e38f6cd068579ada211e69ecceb54 100644 (file)
@@ -419,6 +419,13 @@ char **gdb_buildargv (const char *);
 
 int compare_positive_ints (const void *ap, const void *bp);
 
+/* A wrapper for bfd_errmsg to produce a more helpful error message
+   in the case of bfd_error_file_ambiguously recognized.
+   MATCHING, if non-NULL, is the corresponding argument to
+   bfd_check_format_matches, and will be freed.  */
+
+extern const char *gdb_bfd_errmsg (bfd_error_type error_tag, char **matching);
+
 /* From demangle.c */
 
 extern void set_demangling_style (char *);
This page took 0.035152 seconds and 4 git commands to generate.