diff mbox series

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

Message ID 20210423203959.78275-3-imp@bsdimp.com (mailing list archive)
State New, archived
Headers show
Series [PULL,01/24] bsd-user: whitespace changes | expand

Commit Message

Warner Losh April 23, 2021, 8:39 p.m. UTC
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 mbox series

Patch

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;