]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sparc: We need to implement arch_ptrace_stop().
authorDavid S. Miller <davem@davemloft.net>
Wed, 17 Dec 2008 05:55:44 +0000 (21:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Dec 2008 05:55:44 +0000 (21:55 -0800)
commit878a5535957b563c447d32866a9e606c55fef091
tree7b78655a3aee14afb302b039a1a3e51e6b220b54
parent410d2c8187ed969238ba98008c1d57307a56cfd8
sparc: We need to implement arch_ptrace_stop().

In order to always provide fully synchronized state to the debugger,
we might need to do a synchronize_user_stack().

A pair of hooks, arch_ptrace_stop_needed() and arch_ptrace_stop(),
exist to handle this kind of situation.  It was created for
the sake of IA64.

Use them, to flush the kernel side cached register windows
to the user stack, when necessary.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/ptrace_32.h
arch/sparc/include/asm/ptrace_64.h