OSDN Git Service

* thanks, nickc
authorfche <fche>
Wed, 25 Apr 2001 21:14:28 +0000 (21:14 +0000)
committerfche <fche>
Wed, 25 Apr 2001 21:14:28 +0000 (21:14 +0000)
2001-04-25  Frank Ch. Eigler  <fche@redhat.com>

* sim-load.c (sim_load_file): Put it back [...]

sim/common/ChangeLog
sim/common/sim-load.c
sim/common/sim-utils.c

index 6c93163..1117307 100644 (file)
@@ -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
index 22fb33b..bfe3f15 100644 (file)
@@ -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;
 }
 
index 3adbae5..6184f1b 100644 (file)
@@ -287,6 +287,8 @@ sim_analyze_program (sd, prog_name, prog_bfd)
        break;
       }
 
+  bfd_cache_close (prog_bfd);
+
   return SIM_RC_OK;
 }
 \f