linux/arch/mips
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
..
au1000 [MIPS] au1000: Fix gpio direction 2008-09-24 00:26:54 +02:00
basler/excite [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
bcm47xx [MIPS] BCM47XX: Use new SSB SPROM data structure 2008-02-19 17:01:34 +00:00
boot [MIPS] checkfiles: Fix "need space after that ','" errors. 2007-10-11 23:46:15 +01:00
cobalt [MIPS] Cobalt: Fix I/O port resource range 2008-07-20 14:38:20 +01:00
configs [MIPS] Cobalt: update defconfig 2008-07-30 21:54:43 +01:00
dec [MIPS] DS1287: Add clockevent driver 2008-04-28 17:14:32 +01:00
emma2rh [MIPS] emma2rh: Fix build error by header file inclusion weeding. 2008-08-26 09:10:21 +01:00
fw [MIPS] Remove mips_machtype from ARC based machines 2008-07-15 18:44:38 +01:00
gt64120/wrppmc [MIPS] remove wrppmc_machine_power_off() 2008-07-15 18:44:36 +01:00
jazz [MIPS] Jazz: Fix build error by header file inclusion weeding. 2008-08-26 09:10:20 +01:00
kernel kgdb, x86, arm, mips, powerpc: ignore user space single stepping 2008-09-26 10:36:41 -05:00
lasat [MIPS] Remove mips_machtype for LASAT machines 2008-07-15 18:44:39 +01:00
lemote/lm2e [MIPS] Fulong: don't reinitialize pci_probe_only to it's default value. 2008-01-29 10:14:59 +00:00
lib [MIPS] Fix 64-bit IP checksum code 2008-09-21 14:52:56 +02:00
math-emu [MIPS] Fix missing prototypes in asm/fpu.h 2008-07-20 14:38:17 +01:00
mipssim [MIPS] Remove TLB sanitation code 2008-04-28 17:14:25 +01:00
mm [MIPS] TX39xx: Add missing local_flush_icache_range initialization 2008-09-05 21:24:12 +01:00
mti-malta [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
nxp/pnx8550 [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
oprofile generic-ipi: more merge fallout 2008-07-15 22:08:52 +02:00
pci [MIPS] IP27: Export symbol pcibus_to_node to modules. 2008-08-26 09:10:25 +01:00
pmc-sierra [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
rb532 [MIPS] RB532: Do not define registers that are already defined 2008-08-26 09:10:26 +01:00
sgi-ip22 [MIPS] IP22: Fix detection of second HPC3 on Challenge S 2008-09-08 18:45:39 +02:00
sgi-ip27 [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
sgi-ip32 [MIPS] IP32: Use common SGI button driver 2008-07-20 14:38:18 +01:00
sibyte [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
sni [MIPS] Remove obsolete isa_slot_offset 2008-07-15 18:44:29 +01:00
txx9 [MIPS] TXx9: Fix txx9_pcode initialization 2008-09-05 21:24:12 +01:00
vr41xx [MIPS] VR41xx: unsigned irq cannot be negative 2008-09-16 11:04:30 +02:00
Kconfig [MIPS] Probe initrd header only if explicitly specified 2008-09-05 21:24:12 +01:00
Kconfig.debug [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
Makefile [MIPS] Routerboard 532: Support for base system 2008-07-20 14:38:18 +01:00