Patchwork [5/6] enable --semihosting option for TARGET_MIPS

login
register
mail settings
Submitter Nathan Froyd
Date Aug. 3, 2009, 2:45 p.m.
Message ID <1249310711-8873-6-git-send-email-froydnj@codesourcery.com>
Download mbox | patch
Permalink /patch/30595/
State Superseded
Headers show

Comments

Nathan Froyd - Aug. 3, 2009, 2:45 p.m.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
---
 qemu-options.hx |    2 +-
 vl.c            |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/qemu-options.hx b/qemu-options.hx
index 1b420a3..8514491 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1658,7 +1658,7 @@  DEF("prom-env", HAS_ARG, QEMU_OPTION_prom_env,
     "-prom-env variable=value\n"
     "                set OpenBIOS nvram variables\n")
 #endif
-#if defined(TARGET_ARM) || defined(TARGET_M68K)
+#if defined(TARGET_ARM) || defined(TARGET_M68K) || defined(TARGET_MIPS)
 DEF("semihosting", 0, QEMU_OPTION_semihosting,
     "-semihosting    semihosting mode\n")
 #endif
diff --git a/vl.c b/vl.c
index fdd4f03..c3525e2 100644
--- a/vl.c
+++ b/vl.c
@@ -5520,7 +5520,7 @@  int main(int argc, char **argv, char **envp)
 		option_rom[nb_option_roms] = optarg;
 		nb_option_roms++;
 		break;
-#if defined(TARGET_ARM) || defined(TARGET_M68K)
+#if defined(TARGET_ARM) || defined(TARGET_M68K) || defined(TARGET_MIPS)
             case QEMU_OPTION_semihosting:
                 semihosting_enabled = 1;
                 break;