diff options
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 *); |