James Hogan 05eb905c44 Add state argument to change_syscall and fix SPARC
Add a state argument to change_syscall() so that SPARC can modify that
instead of read-modify-writing the whole register set.  This function is
always called within an arg_setup/arg_finish_change sequence which on
certain architectures like SPARC will also be doing a read-modify-write.
This prevents the second write (from arg_finish_change) from undoing the
effects of the change_syscall call.

* util.c (change_syscall): Move below definition of arg_setup_state.
Add state argument.
[SPARC || SPARC64] Change to set state->u_regs[U_REG_G1] rather than
read-modify-writing it with PTRACE_GETREGS and PTRACE_SETREGS.
(setbpt, clearbpt): Pass state argument to change_syscall.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
2012-11-29 23:45:38 +00:00
2012-05-02 12:34:56 +00:00
2011-03-14 15:32:38 +00:00
2012-05-01 21:51:38 +00:00
2012-04-16 18:16:13 +02:00
2009-07-08 21:01:21 +00:00
2012-10-26 23:32:15 +00:00
2012-05-01 21:51:38 +00:00
2012-04-16 18:16:13 +02:00
2012-02-25 15:29:21 +01:00
2012-04-18 15:27:25 +00:00
2012-10-26 23:32:15 +00:00
2012-04-18 15:02:40 +00:00
2012-05-02 23:00:34 +00:00
2012-10-26 23:43:13 +00:00
2012-10-26 23:32:15 +00:00
2012-10-26 23:43:13 +00:00
2012-02-25 15:29:21 +01:00
2012-09-28 01:13:10 +00:00
2012-10-26 22:45:08 +00:00
2012-09-28 01:13:10 +00:00
2012-05-02 12:34:56 +00:00
2012-05-16 12:23:58 +02:00
2012-05-01 21:17:51 +00:00

This is strace, a system call tracer for Linux.

strace is released under a Berkeley-style license at the request
of Paul Kranenburg; see the file COPYRIGHT for details.

See the file CREDITS for a list of authors and other contributors.

See the file INSTALL for compilation and installation instructions.

See the file NEWS for information on what has changed in recent
versions.

You can get the latest version of strace from its homepage at
http://sourceforge.net/projects/strace/ .

Please send bug reports and enhancements to the strace
mailinglist at strace-devel@lists.sourceforge.net.
Description
No description provided
Readme 17 MiB
Languages
C 92.2%
Shell 3.4%
M4 1.4%
Makefile 0.8%
Roff 0.7%
Other 1.5%