aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-12-21 16:24:16 -0700
committerTom Tromey <tom@tromey.com>2021-12-24 10:24:48 -0700
commit34b965f7c006e64dbd5546575744daa642d4856f (patch)
tree395f80417b26c931dfaaa66b1ceff1230cdef1dd /gdb/utils.h
parentb6a08665ffb4a4b41e3761666c7c54655279f2ad (diff)
downloadfsf-binutils-gdb-34b965f7c006e64dbd5546575744daa642d4856f.zip
fsf-binutils-gdb-34b965f7c006e64dbd5546575744daa642d4856f.tar.gz
fsf-binutils-gdb-34b965f7c006e64dbd5546575744daa642d4856f.tar.bz2
Move gdb_bfd_errmsg to gdb_bfd.c
gdb_bfd.c contains most of gdb's BFD-related utility functions. However, gdb_bfd_errmsg is in utils.c. It seemed better to me to move this out of util.[ch] and into the BFD-related file instead. Tested by rebuilding.
Diffstat (limited to 'gdb/utils.h')
-rw-r--r--gdb/utils.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/utils.h b/gdb/utils.h
index 03424e6..fe72078 100644
--- a/gdb/utils.h
+++ b/gdb/utils.h
@@ -109,13 +109,6 @@ compare_cstrings (const char *str1, const char *str2)
return strcmp (str1, str2) < 0;
}
-/* 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 std::string gdb_bfd_errmsg (bfd_error_type error_tag, char **matching);
-
/* Reset the prompt_for_continue clock. */
void reset_prompt_for_continue_wait_time (void);
/* Return the time spent in prompt_for_continue. */