Move gdb_bfd_errmsg to gdb_bfd.c
authorTom Tromey <tom@tromey.com>
Tue, 21 Dec 2021 23:24:16 +0000 (16:24 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 24 Dec 2021 17:24:48 +0000 (10:24 -0700)
commit34b965f7c006e64dbd5546575744daa642d4856f
tree395f80417b26c931dfaaa66b1ceff1230cdef1dd
parentb6a08665ffb4a4b41e3761666c7c54655279f2ad
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.
gdb/gdb_bfd.c
gdb/gdb_bfd.h
gdb/utils.c
gdb/utils.h