* interp.c: added call to sky_command_options_end() to close
authorPatrick Macdonald <patrickm@redhat.com>
Fri, 12 Jun 1998 18:58:26 +0000 (18:58 +0000)
committerPatrick Macdonald <patrickm@redhat.com>
Fri, 12 Jun 1998 18:58:26 +0000 (18:58 +0000)
any open file handles before exiting
* sky-gpuif.[c|h]: add disassembly on the fly code, log and log
file option support
* sky-gdb.[c|h] (sky_command_options_close()): new function, added
some body to the log and log file option sections

sim/mips/interp.c

index bbaeedb..f0ba619 100644 (file)
@@ -344,7 +344,7 @@ sim_open (kind, cb, abfd, argv)
 
 /* start-sanitize-sky */
 #ifdef TARGET_SKY
-  sky_command_options (sd);
+  sky_command_options_open (sd);
 #endif
 /* end-sanitize-sky */
 
@@ -662,6 +662,13 @@ sim_close (sd, quitting)
   printf("DBG: sim_close: entered (quitting = %d)\n",quitting);
 #endif
 
+/* start-sanitize-sky */
+#ifdef TARGET_SKY
+  sky_command_options_close (sd);
+#endif
+/* end-sanitize-sky */
+
+
   /* "quitting" is non-zero if we cannot hang on errors */
 
   /* Ensure that any resources allocated through the callback