Skip to content

Commit

Permalink
[PATCH] i386: fix singlestepping though a syscall
Browse files Browse the repository at this point in the history
Do not mask TIF_SINGLESTEP bit in _TIF_WORK_MASK. Masking this stopped
do_notify_resume() from being called when it should have been.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Chuck Ebbert authored and Linus Torvalds committed Feb 17, 2006
1 parent d308643 commit cfe91f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-i386/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ register unsigned long current_stack_pointer asm("esp") __attribute_used__;

/* work to do on interrupt/exception return */
#define _TIF_WORK_MASK \
(0x0000FFFF & ~(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT|_TIF_SINGLESTEP|\
_TIF_SECCOMP|_TIF_SYSCALL_EMU))
(0x0000FFFF & ~(_TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT | \
_TIF_SECCOMP | _TIF_SYSCALL_EMU))
/* work to do on any return to u-space */
#define _TIF_ALLWORK_MASK (0x0000FFFF & ~_TIF_SECCOMP)

Expand Down

0 comments on commit cfe91f9

Please sign in to comment.