aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2001-04-25 21:14:28 +0000
committerFrank Ch. Eigler <fche@redhat.com>2001-04-25 21:14:28 +0000
commit2836ee25d9cc885bdb89c7b4c9e5d8c88113edee (patch)
treeaa3162317c30957088ca77a399ca2831a9d83a11 /sim
parentd436a9b307e95f7500dd001f859c36d6cf244949 (diff)
downloadgdb-2836ee25d9cc885bdb89c7b4c9e5d8c88113edee.zip
gdb-2836ee25d9cc885bdb89c7b4c9e5d8c88113edee.tar.gz
gdb-2836ee25d9cc885bdb89c7b4c9e5d8c88113edee.tar.bz2
* thanks, nickc
2001-04-25 Frank Ch. Eigler <fche@redhat.com> * sim-load.c (sim_load_file): Put it back [...]
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/sim-load.c2
-rw-r--r--sim/common/sim-utils.c2
3 files changed, 9 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 6c93163..1117307 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-25 Frank Ch. Eigler <fche@redhat.com>
+
+ * sim-load.c (sim_load_file): Put it back: external now.
+ * sim-utils.c (sim_analyze_program): Ditto. Nyuk nyuk nyuk.
+
2001-04-21 Andrew Cagney <ac131313@redhat.com>
* sim-load.c (sim_load_file): Delete call bfd_cache_close. BFD
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;
}
diff --git a/sim/common/sim-utils.c b/sim/common/sim-utils.c
index 3adbae5..6184f1b 100644
--- a/sim/common/sim-utils.c
+++ b/sim/common/sim-utils.c
@@ -287,6 +287,8 @@ sim_analyze_program (sd, prog_name, prog_bfd)
break;
}
+ bfd_cache_close (prog_bfd);
+
return SIM_RC_OK;
}