original_kernel/arch/x86
Jason Wessel d7161a6534 kgdb, x86, arm, mips, powerpc: ignore user space single stepping
On the x86 arch, user space single step exceptions should be ignored
if they occur in the kernel space, such as ptrace stepping through a
system call.

First check if it is kgdb that is executing a single step, then ensure
it is not an accidental traversal into the user space, while in kgdb,
any other time the TIF_SINGLESTEP is set, kgdb should ignore the
exception.

On x86, arm, mips and powerpc, the kgdb_contthread usage was
inconsistent with the way single stepping is implemented in the kgdb
core.  The arch specific stub should always set the
kgdb_cpu_doing_single_step correctly if it is single stepping.  This
allows kgdb to correctly process an instruction steps if ptrace
happens to be requesting an instruction step over a system call.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2008-09-26 10:36:41 -05:00
..
boot x86: boot: stub out unimplemented CPU feature words 2008-09-05 16:13:44 -07:00
configs x86: update defconfigs 2008-08-27 08:14:17 +02:00
crypto
ia32
kernel kgdb, x86, arm, mips, powerpc: ignore user space single stepping 2008-09-26 10:36:41 -05:00
kvm KVM: VMX: Always return old for clear_flush_young() when using EPT 2008-09-11 11:48:19 +03:00
lguest
lib x86: msr: propagate errors from smp_call_function_single() 2008-08-25 17:45:48 -07:00
mach-default
mach-es7000
mach-generic
mach-rdc321x
mach-voyager
math-emu
mm x86/paravirt: Remove duplicate paravirt_pagetable_setup_{start, done}() 2008-09-14 18:10:01 +02:00
oprofile x86, oprofile: BUG scheduling while atomic 2008-09-22 11:54:24 +02:00
pci Un-break printk strings in x86 PCI probing code 2008-09-02 10:38:28 -07:00
power
vdso
video
xen xen: fix for xen guest with mem > 3.7G 2008-09-14 16:46:34 +02:00
Kconfig [x86] Clean up MAXSMP Kconfig, and limit NR_CPUS to 512 2008-08-25 14:15:38 -07:00
Kconfig.cpu x86: disable static NOPLs on 32 bits 2008-09-08 11:35:43 -07:00
Kconfig.debug
Makefile
Makefile_32.cpu