This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / um / kernel / tt / syscall_kern.c
index 891045b..555ffd0 100644 (file)
@@ -123,6 +123,12 @@ long execute_syscall_tt(void *r)
 
        set_fs(USER_DS);
 
+       if(current->thread.mode.tt.singlestep_syscall){
+               current->thread.mode.tt.singlestep_syscall = 0;
+               current->ptrace &= ~PT_DTRACE;
+               force_sig(SIGTRAP, current);
+       }
+
        return(res);
 }