kernel-fxtec-pro1x/arch/x86/ia32
Roland McGrath e1f287735c x86 single_step: TIF_FORCED_TF
This changes the single-step support to use a new thread_info flag
TIF_FORCED_TF instead of the PT_DTRACE flag in task_struct.ptrace.
This keeps arch implementation uses out of this non-arch field.

This changes the ptrace access to eflags to mask TF and maintain
the TIF_FORCED_TF flag directly if userland sets TF, instead of
relying on ptrace_signal_deliver.  The 64-bit and 32-bit kernels
are harmonized on this same behavior.  The ptrace_signal_deliver
approach works now, but this change makes the low-level register
access code reliable when called from different contexts than a
ptrace stop, which will be possible in the future.

The 64-bit do_debug exception handler is also changed not to clear TF
from user-mode registers.  This matches the 32-bit kernel's behavior.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:30:50 +01:00
..
audit.c
fpu32.c x86: remove dead code in ia32-emu 2008-01-30 13:30:32 +01:00
ia32_aout.c x86: clean up arch/x86/ia32/aout32.c 2008-01-30 13:30:07 +01:00
ia32_binfmt.c x86 vDSO: consolidate vdso32 2008-01-30 13:30:43 +01:00
ia32_signal.c x86 vDSO: consolidate vdso32 2008-01-30 13:30:43 +01:00
ia32entry.S x86: TLS cleanup 2008-01-30 13:30:46 +01:00
ipc32.c x86: clean up arch/x86/ia32/ipc32.c 2008-01-30 13:30:08 +01:00
Makefile x86: tls32 moved 2008-01-30 13:30:45 +01:00
ptrace32.c x86 single_step: TIF_FORCED_TF 2008-01-30 13:30:50 +01:00
sys_ia32.c x86: clean up arch/x86/ia32/sys_ia32.c 2008-01-30 13:30:08 +01:00