linux/arch
Oleg Nesterov d519650373 ptrace: x86: change syscall_trace_leave() to rely on tracehook when stepping
Suggested by Roland.

Unlike powepc, x86 always calls tracehook_report_syscall_exit(step) with
step = 0, and sends the trap by hand.

This results in unnecessary SIGTRAP when PTRACE_SINGLESTEP follows the
syscall-exit stop.

Change syscall_trace_leave() to pass the correct "step" argument to
tracehook and remove the send_sigtrap() logic.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Roland McGrath <roland@redhat.com>
Cc: <linux-arch@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-16 07:20:08 -08:00
..
alpha Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
arm da850/omap-l138: add callback to control LCD panel power 2009-12-16 07:20:05 -08:00
avr32 Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
blackfin fbdev: bfin-lq035q1-fb: new Blackfin Landscape LCD EZ-Extender driver 2009-12-16 07:20:01 -08:00
cris genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
frv genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
h8300 genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
ia64 Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
m32r genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
m68k Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu 2009-12-14 09:58:24 -08:00
m68knommu Unify sys_mmap* 2009-12-11 06:44:29 -05:00
microblaze genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
mips genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
mn10300 genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
parisc genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
powerpc ptrace: powerpc: implement user_single_step_siginfo() 2009-12-16 07:20:08 -08:00
s390 Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
score Add missing alignment check in arch/score sys_mmap() 2009-12-11 06:48:57 -05:00
sh genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
sparc Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
um Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
x86 ptrace: x86: change syscall_trace_leave() to rely on tracehook when stepping 2009-12-16 07:20:08 -08:00
xtensa genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
.gitignore
Kconfig Merge branch 'kvm-updates/2.6.33' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2009-12-08 08:02:38 -08:00