[IA64] Fix convert_to_non_syscall() so gdb inferior calls work again
authorDavid Mosberger-Tang <davidm@hpl.hp.com>
Tue, 10 May 2005 19:49:00 +0000 (12:49 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 17 May 2005 21:07:10 +0000 (14:07 -0700)
commit7f9eaedf894dbaa08c157832e9a6c9c03ffed1ed
tree12a561efa197fdbe78ba74b576c28f132e04660a
parent8800cea62025a5209d110c5fa5990429239d6eee
[IA64] Fix convert_to_non_syscall() so gdb inferior calls work again

Fix convert_to_non_syscall() so it arranges for the kernel to be left
via ia64_leave_kernel() rather than ia64_leave_syscall().  The latter
no longer tolerates being called with pSys=0 and pNonSys=1.

Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/ptrace.c