summaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/interp.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index bbaeedb75b6..f0ba619f748 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -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