aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-e7000.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/remote-e7000.c
parentdb8503c490928bc47400ef527af5a756e93d2a22 (diff)
downloadgdb-5c65bbb629ce9dcc1adf006de891208291d796d7.zip
gdb-5c65bbb629ce9dcc1adf006de891208291d796d7.tar.gz
gdb-5c65bbb629ce9dcc1adf006de891208291d796d7.tar.bz2
Cleanup bfd_close() cleanups.
Diffstat (limited to 'gdb/remote-e7000.c')
-rw-r--r--gdb/remote-e7000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-e7000.c b/gdb/remote-e7000.c
index c5ced87..608f116 100644
--- a/gdb/remote-e7000.c
+++ b/gdb/remote-e7000.c
@@ -1580,7 +1580,7 @@ e7000_load (args, from_tty)
perror_with_name (filename);
return;
}
- old_chain = make_cleanup ((make_cleanup_func) bfd_close, pbfd);
+ old_chain = make_cleanup_bfd_close (pbfd);
if (!bfd_check_format (pbfd, bfd_object))
error ("\"%s\" is not an object file: %s", filename,