qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 5/6] enable --semihosting option for TARGET_MIPS


From: Nathan Froyd
Subject: [Qemu-devel] [PATCH 5/6] enable --semihosting option for TARGET_MIPS
Date: Mon, 3 Aug 2009 07:45:10 -0700

Signed-off-by: Nathan Froyd <address@hidden>
---
 qemu-options.hx |    2 +-
 vl.c            |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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;
-- 
1.6.3.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]