OpenCloudOS-Kernel/arch/powerpc
Benjamin Herrenschmidt 7d43e57764 [POWERPC] Fix ppc32 single-stepping out of syscalls
The ppc32 kernel didn't properly set/clear the TIF_SINGLESTEP
flag, causing return from syscalls to not SIGTRAP, thus executing
one more instruction before stopping again.

This fixes it.  The ptrace code is a bit of a mess, and is overdue
for at least a -proper- 32/64 bits split and possibly more cleanups
but this minimum fix should be ok for 2.6.22

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-02 21:01:55 +10:00
..
boot [POWERPC] 52xx: unbreak lite5200 dts (_pic vs. -pic) 2007-05-23 07:18:00 -05:00
configs [POWERPC] cell_defconfig: Disable cpufreq and pmi 2007-05-17 21:11:14 +10:00
kernel [POWERPC] Fix ppc32 single-stepping out of syscalls 2007-06-02 21:01:55 +10:00
lib [POWERPC] Fix alignment problem in rh_alloc_align() with exact-sized blocks 2007-05-17 21:10:16 +10:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] Fix modpost warning 2007-05-23 07:49:37 -05:00
oprofile Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
platforms [POWERPC] Fix Section mismatch warnings 2007-05-23 07:45:18 -05:00
sysdev [POWERPC] QE: fix Kconfig 'select' warning with UCC_FAST 2007-05-23 07:23:55 -05:00
xmon Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Fix Kconfig warning 2007-05-23 09:51:46 -05:00
Kconfig.debug Fix trivial typos in Kconfig* files 2007-05-09 07:12:20 +02:00
Makefile [POWERPC] Specify GNUTARGET on $(AR) invocations 2007-05-17 21:11:15 +10:00