aboutsummaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-user')
-rw-r--r--bsd-user/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c
index fa9c012c9f..501e16f675 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -619,9 +619,10 @@ void cpu_loop(CPUSPARCState *env)
break;
case EXCP_DEBUG:
{
- int sig;
-
- sig = gdb_handlesig(cs, TARGET_SIGTRAP);
+#if 0
+ int sig =
+#endif
+ gdb_handlesig(cs, TARGET_SIGTRAP);
#if 0
if (sig)
{