aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparcl-tdep.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/sparcl-tdep.c
parentdb8503c490928bc47400ef527af5a756e93d2a22 (diff)
downloadgdb-5c65bbb629ce9dcc1adf006de891208291d796d7.zip
gdb-5c65bbb629ce9dcc1adf006de891208291d796d7.tar.gz
gdb-5c65bbb629ce9dcc1adf006de891208291d796d7.tar.bz2
Cleanup bfd_close() cleanups.
Diffstat (limited to 'gdb/sparcl-tdep.c')
-rw-r--r--gdb/sparcl-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparcl-tdep.c b/gdb/sparcl-tdep.c
index b6ea064..91499af 100644
--- a/gdb/sparcl-tdep.c
+++ b/gdb/sparcl-tdep.c
@@ -614,7 +614,7 @@ download (target_name, args, from_tty, write_routine, start_routine)
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,