aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-16 02:43:39 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-16 02:43:39 +0000
commit5c65bbb629ce9dcc1adf006de891208291d796d7 (patch)
tree24faccd99fb19e260a13350e998d5598e5ebfcd6 /gdb/symfile.c
parentdb8503c490928bc47400ef527af5a756e93d2a22 (diff)
downloadgdb-5c65bbb629ce9dcc1adf006de891208291d796d7.zip
gdb-5c65bbb629ce9dcc1adf006de891208291d796d7.tar.gz
gdb-5c65bbb629ce9dcc1adf006de891208291d796d7.tar.bz2
Cleanup bfd_close() cleanups.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index b01fe33..8fc4fe7 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -1230,7 +1230,7 @@ generic_load (char *args, int from_tty)
/* FIXME: should be checking for errors from bfd_close (for one thing,
on error it does not free all the storage associated with the
bfd). */
- make_cleanup ((make_cleanup_func) bfd_close, loadfile_bfd);
+ make_cleanup_bfd_close (loadfile_bfd);
if (!bfd_check_format (loadfile_bfd, bfd_object))
{