From: Warner Losh <i...@bsdimp.com> Signed-off-by: Warner Losh <i...@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