Files
linux-legacy/include/asm-x86
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
..
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:35 +01:00
2007-10-23 22:37:23 +02:00
2008-01-30 13:30:36 +01:00
2007-10-17 20:17:12 +02:00
2008-01-30 13:30:38 +01:00
2007-10-17 20:17:13 +02:00
2008-01-30 13:30:32 +01:00
2007-10-25 16:16:26 -07:00
2008-01-30 13:30:28 +01:00
2007-10-17 20:17:15 +02:00
2007-10-19 20:35:02 +02:00
2008-01-30 13:30:35 +01:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:17 +02:00
2008-01-30 13:30:44 +01:00
2007-10-23 22:37:23 +02:00
2007-10-22 21:20:01 +02:00
2007-10-16 11:26:02 +02:00
2008-01-30 13:30:20 +01:00
2007-10-17 20:17:18 +02:00
2007-10-17 20:17:19 +02:00
2008-01-30 13:30:43 +01:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:21 +02:00
2007-10-17 20:24:56 +02:00
2008-01-30 13:30:20 +01:00
2008-01-30 13:30:29 +01:00
2008-01-30 13:30:46 +01:00
2008-01-30 13:30:28 +01:00
2007-10-17 20:26:11 +02:00
2007-10-30 00:22:22 +01:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:16 +01:00
2008-01-30 13:30:44 +01:00
2007-12-18 18:05:58 +01:00
2007-12-18 18:05:58 +01:00
2007-10-17 20:16:47 +02:00
2008-01-30 13:30:17 +01:00
2007-10-17 20:26:15 +02:00
2007-10-23 22:37:22 +02:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:36 +01:00
2007-10-23 22:37:24 +02:00
2008-01-30 13:30:31 +01:00
2008-01-30 13:30:31 +01:00
2008-01-30 13:30:38 +01:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:31 +01:00
2008-01-30 13:30:38 +01:00
2008-01-30 13:30:18 +01:00
2007-10-19 11:53:41 -07:00
2008-01-30 13:30:45 +01:00
2008-01-30 13:30:45 +01:00
2008-01-30 13:30:48 +01:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:08 +02:00
2008-01-30 13:30:48 +01:00
2007-10-17 08:42:47 -07:00
2007-10-17 08:42:47 -07:00
2007-10-23 22:37:24 +02:00
2007-10-23 22:37:24 +02:00
2008-01-30 13:30:50 +01:00
2008-01-30 13:30:36 +01:00
2008-01-30 13:30:36 +01:00
2008-01-30 13:30:34 +01:00
2007-10-17 20:16:11 +02:00
2007-10-23 22:37:24 +02:00
2007-10-23 22:37:24 +02:00
2008-01-30 13:30:26 +01:00
2007-10-12 23:04:23 +02:00
2007-10-17 20:26:18 +02:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:38 +01:00
2008-01-30 13:30:18 +01:00
2007-10-17 20:32:07 +02:00
2007-10-17 20:16:36 +02:00
2007-10-17 20:32:38 +02:00
2008-01-30 13:30:42 +01:00