Starting with linux commit v4.0-rc4~21^2, "SP" register is available via regs[PTR_SP] member of struct user_pt_regs. * linux/nios2/arch_regs.h (nios2_sp_ptr): Change type to "unsigned int *". * linux/nios2/arch_regs.c (nios2_sp_ptr): Likewise. Replace .sp with .regs[PTR_SP]. Fixes: http://autobuild.buildroot.net/results/b9f/b9fc25b82f3280872fe1593ac252a8529ba83576 Fixes: v4.16-34-g6117728a ("nios2: export nios2_sp_ptr") Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
strace - the linux syscall tracer
This is strace -- a diagnostic, debugging and instructional userspace utility with a traditional command-line interface for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.
See the file NEWS for information on what has changed in recent versions.
Please read the file INSTALL-git for installation instructions.
The user discussion and development of strace take place on the strace mailing list -- everyone is welcome to post bug reports, feature requests, comments and patches to strace-devel@lists.sourceforge.net. The mailing list archives are available at https://sourceforge.net/p/strace/mailman/strace-devel/ and other archival sites.