Go to file
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
debian Prepare for 4.7 release 2012-05-02 12:34:56 +00:00
linux Add support for tracing 32-bit ARM EABI binaries on AArch64 2012-11-12 15:19:58 +00:00
m4 Implement prlimit64 decoding, rewrite [gs]etrlimit decoding 2012-03-16 19:05:21 +00:00
qemu_multiarch_testing Slight tweak to qemu_multiarch_testing scripts 2012-03-21 11:32:55 +01:00
test test/threaded_execve: make it also test a case when leader is not in syscall 2012-03-17 01:24:25 +01:00
tests tests: raise strace check timeout to 60 seconds 2012-05-01 21:32:09 +00:00
.gitignore linux/ioctlent: unify them all 2011-03-14 15:32:38 +00:00
.mailmap Remove duplicate names from CREDITS 2012-05-01 21:51:38 +00:00
AUTHORS 2002-12-22 Roland McGrath <roland@redhat.com> 2002-12-30 00:51:30 +00:00
bjm.c Stop using non-standard %Zu and %Zd formats for size_t printing 2012-05-16 12:20:17 +02:00
block.c Stop using %h[h]u format specifiers 2012-04-16 18:16:13 +02:00
ChangeLog-CVS Generate ChangeLog from git log 2009-07-08 21:01:21 +00:00
configure.ac Add AArch64 support to strace 2012-10-26 23:32:15 +00:00
COPYRIGHT Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
count.c Make sure current_wordsize and PERSONALITY0_WORDSIZE are ints in all arches 2012-05-15 14:28:56 +02:00
CREDITS.in Remove duplicate names from CREDITS 2012-05-01 21:51:38 +00:00
defs.h Add support for tracing 32-bit ARM EABI binaries on AArch64 2012-11-12 15:19:58 +00:00
desc.c Stop using %h[h]u format specifiers 2012-04-16 18:16:13 +02:00
errnoent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
file.c Decode file type returned by getdents system call 2012-08-16 19:29:55 +00:00
git-set-file-times * git-set-file-times: Import from rsync. 2009-10-09 23:07:28 +00:00
gitlog-to-changelog gitlog-to-changelog: update from gnulib 2011-11-05 13:32:27 +00:00
HACKING-scripts HACKING-scripts: new doc file by Mike Frysinger 2009-02-23 07:56:01 +00:00
INSTALL Remove and update documentation 2012-02-25 15:29:21 +01:00
io.c Remove recently introduced use of ULONG_MAX 2012-05-01 20:30:02 +00:00
ioctl.c Decode /dev/loop ioctls 2012-04-18 15:27:25 +00:00
ioctlsort.c Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
ipc.c Add AArch64 support to strace 2012-10-26 23:32:15 +00:00
loop.c Use %d printf format instead of %i everywhere 2012-05-16 12:29:09 +02:00
make-dist Generate an xz tar archive of the distribution 2011-02-27 14:05:58 +00:00
Makefile.am Filter out redundant "*32" ioctl entries 2012-10-27 01:13:53 +00:00
mem.c x32: add ia32 support 2012-04-18 15:02:40 +00:00
mtd.c Use %d printf format instead of %i everywhere 2012-05-16 12:29:09 +02:00
net.c Fix recvmmsg decode: do not show more data than actually returned 2012-05-01 20:41:40 +00:00
NEWS maint: post-release administrivia 2012-05-02 23:00:34 +00:00
pathtrace.c Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
process.c Add AArch64 support to strace 2012-10-26 23:32:15 +00:00
quota.c Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
README Remove and update documentation 2012-02-25 15:29:21 +01:00
README-hacking doc: describe documentation policy 2012-05-03 01:44:49 +00:00
README-linux Cleanup trailing whitespaces and indentation that uses spaces before tabs 2009-07-08 14:57:27 +00:00
README-linux-ptrace README-linux-ptrace: correct the description of suppressed signals 2012-02-09 19:57:52 +01:00
resource.c Cast clock_t type to unsigned long long 2012-04-17 06:38:17 +04:00
scsi.c Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
signal.c Use perror_msg instead of perror 2012-09-28 01:13:10 +00:00
signalent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
sock.c Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
strace-graph Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
strace-log-merge strace-log-merge: fix file suffix calculation 2012-03-26 12:10:01 +00:00
strace.1 Add -e trace=memory option 2012-10-26 22:45:08 +00:00
strace.c Use perror_msg instead of perror 2012-09-28 01:13:10 +00:00
strace.spec Prepare for 4.7 release 2012-05-02 12:34:56 +00:00
stream.c Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
syscall.c Add support for tracing 32-bit ARM EABI binaries on AArch64 2012-11-12 15:19:58 +00:00
syscallent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
system.c Fix a few goofs in sys_sysctl() 2012-05-16 12:23:58 +02:00
term.c Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
time.c Update STA_* constants 2012-05-01 21:17:51 +00:00
util.c Add state argument to change_syscall and fix SPARC 2012-11-29 23:45:38 +00:00
vsprintf.c * vsprintf.c: Check for USE_CUSTOM_PRINTF earlier. 2012-05-01 22:49:49 +00:00
xlate.el Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01: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.