aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1994-02-17 18:19:25 +0000
committerDavid MacKenzie <djm@cygnus>1994-02-17 18:19:25 +0000
commitc4a081e17239660420dbfed33542e865ce932ea4 (patch)
tree0bdeccbe4873348f142a7f8d3e9a08573a6116ea /gdb/objfiles.c
parentf61b81b7c1ca5c2de10a9dd6294ced660ef92cbc (diff)
downloadgdb-c4a081e17239660420dbfed33542e865ce932ea4.zip
gdb-c4a081e17239660420dbfed33542e865ce932ea4.tar.gz
gdb-c4a081e17239660420dbfed33542e865ce932ea4.tar.bz2
* corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c,
osfsolib.c, rs6000-nat.c, solib.c, symfile.c, utils.c, xcoffexec.c: Use bfd_get_error and bfd_set_error and new error names.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 4358f65..381a095 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -254,7 +254,7 @@ allocate_objfile (abfd, mapped)
if (build_objfile_section_table (objfile))
{
error ("Can't find the file sections in `%s': %s",
- objfile -> name, bfd_errmsg (bfd_error));
+ objfile -> name, bfd_errmsg (bfd_get_error ()));
}
/* Push this file onto the head of the linked list of other such files. */