aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-load.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2001-04-19 20:59:30 +0000
committerFrank Ch. Eigler <fche@redhat.com>2001-04-19 20:59:30 +0000
commit6ec9f4a9be9ea349ba7614ea564052c30e5ce2e4 (patch)
tree02ed4efd923191705c7abcb9b1fabe7cfbff37e7 /sim/common/sim-load.c
parent539ffe0b42135dbf2714c3bb836aad493c7081a3 (diff)
downloadgdb-6ec9f4a9be9ea349ba7614ea564052c30e5ce2e4.zip
gdb-6ec9f4a9be9ea349ba7614ea564052c30e5ce2e4.tar.gz
gdb-6ec9f4a9be9ea349ba7614ea564052c30e5ce2e4.tar.bz2
* bug fix
2001-04-19 Frank Ch. Eigler <fche@redhat.com> * sim-utils.c (sim_analyze_program): Call bfd_cache_close after we're finished with its immediate use. * sim-load.c (sim_load_file): Ditto.
Diffstat (limited to 'sim/common/sim-load.c')
-rw-r--r--sim/common/sim-load.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c
index 22fb33b..bfe3f15 100644
--- a/sim/common/sim-load.c
+++ b/sim/common/sim-load.c
@@ -166,6 +166,8 @@ sim_load_file (sd, myname, callback, prog, prog_bfd, verbose_p, lma_p, do_write)
report_transfer_performance (callback, data_count, start_time, end_time);
}
+ bfd_cache_close (result_bfd);
+
return result_bfd;
}