Files
linux/arch/x86/kernel
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
..
2007-10-17 21:19:04 +02:00
2008-01-30 13:30:29 +01:00
2008-01-30 13:30:29 +01:00
2008-01-30 13:30:42 +01:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-11 11:17:01 +02:00
2007-10-13 10:01:23 -07:00
2008-01-24 20:40:04 -08:00
2007-10-19 11:53:33 -07:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:01 +02:00
2007-10-22 08:13:19 -07:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:30:43 +01:00
2008-01-25 21:08:29 +01:00
2008-01-01 11:30:35 -08:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:30:32 +01:00
2007-10-13 10:01:23 -07:00
2008-01-30 13:30:29 +01:00
2008-01-30 13:30:29 +01:00
2008-01-30 13:30:28 +01:00
2008-01-30 13:30:29 +01:00
2008-01-30 13:30:24 +01:00
2007-10-13 10:01:23 -07:00
2008-01-30 13:30:19 +01:00
2007-10-11 11:17:24 +02:00
2007-12-18 18:05:58 +01:00
2007-12-18 18:05:58 +01:00
2008-01-30 13:30:14 +01:00
2008-01-30 13:30:50 +01:00
2008-01-30 13:30:50 +01:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:30:35 +01:00
2007-10-19 20:35:03 +02:00
2008-01-24 20:40:04 -08:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:33 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:31 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:30:50 +01:00
2008-01-30 13:30:50 +01:00
2008-01-30 13:30:50 +01:00
2008-01-30 13:30:50 +01:00
2007-12-03 17:17:10 +01:00
2007-12-03 17:17:10 +01:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:30:27 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:30:50 +01:00
2008-01-30 13:30:50 +01:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:38 +01:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:30:28 +01:00
2008-01-30 13:30:50 +01:00
2007-10-20 01:13:56 +02:00
2007-10-17 08:42:55 -07:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:30:29 +01:00
2008-01-30 13:30:46 +01:00
2007-10-17 20:16:08 +02:00
2007-10-17 20:16:08 +02:00
2008-01-30 13:30:50 +01:00
2007-10-11 11:17:24 +02:00
2007-10-13 10:01:23 -07:00
2008-01-30 13:30:33 +01:00
2007-10-11 11:17:01 +02:00