qemu-devel
[Top][All Lists]
Advanced

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

[PULL 12/24] bsd-user: style tweak: if 0 -> ifdef notyet for code needed


From: imp
Subject: [PULL 12/24] bsd-user: style tweak: if 0 -> ifdef notyet for code needed in future
Date: Fri, 23 Apr 2021 14:39:47 -0600

From: Warner Losh <imp@bsdimp.com>

Signed-off-by: Warner Losh <imp@bsdimp.com>
---
 bsd-user/main.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/bsd-user/main.c b/bsd-user/main.c
index ff886de98e..91603f5ac2 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -245,7 +245,7 @@ void cpu_loop(CPUX86State *env)
             }
             break;
 #endif
-#if 0
+#ifdef notyet
         case EXCP0B_NOSEG:
         case EXCP0C_STACK:
             info.si_signo = SIGBUS;
@@ -340,7 +340,7 @@ void cpu_loop(CPUX86State *env)
         case EXCP_INTERRUPT:
             /* just indicate that signals should be handled asap */
             break;
-#if 0
+#ifdef notyet
         case EXCP_DEBUG:
             {
                 int sig;
@@ -589,7 +589,7 @@ void cpu_loop(CPUSPARCState *env)
             break;
         case TT_TFAULT:
         case TT_DFAULT:
-#if 0
+#ifdef notyet
             {
                 info.si_signo = SIGSEGV;
                 info.si_errno = 0;
@@ -609,7 +609,7 @@ void cpu_loop(CPUSPARCState *env)
             break;
         case TT_TFAULT:
         case TT_DFAULT:
-#if 0
+#ifdef notyet
             {
                 info.si_signo = SIGSEGV;
                 info.si_errno = 0;
@@ -629,11 +629,11 @@ void cpu_loop(CPUSPARCState *env)
             break;
         case EXCP_DEBUG:
             {
-#if 0
+#ifdef notyet
                 int sig =
 #endif
                 gdb_handlesig(cs, TARGET_SIGTRAP);
-#if 0
+#ifdef notyet
                 if (sig)
                   {
                     info.si_signo = sig;
-- 
2.22.1




reply via email to

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