strace/strace-4.7.diff
Marcus Meissner 91ceee2a57 - updated to 4.7
* Changes in behavior
    * strace no longer suspends waitpid until there is a child
      for waitpid'ing process to collect status from.
    * strace no longer detaches from a tracee which is supposed
      to be going to die.
    * strace now issues a new message: "+++ exited with EXITCODE +++"
      which shows exact moment strace got exit notification,
      analogous to existing "+++ killed by SIG +++" message.
  
  * Improvements
    * Added x32 personality support (x86_64 architecture).
    * Added -y and -P options to print file descriptor paths and
      filter by those paths.
    * Added -I option to control strace interactivity.
    * Allowed -p option to take comma or whitespace-separated list of PIDs.
    * Added strace_log_merge script helper to merge timestamped "strace -ff"
      log files.
    * Implemented decoding of clock_adjtime, get_robust_list, migrate_pages,
      preadv, prlimit64, process_vm_readv, process_vm_writev, pwritev,
      recvmmsg, recvmsg, rt_tgsigqueueinfo, sendmmsg, setns, set_robust_list,
      sched_rr_get_interval, splice, syslog, tee and vmsplice syscalls.
    * Enhanced decoding of capget, capset, getrlimit, flistxattr, io_submit,
      listxattr, setrlimit and swapon syscalls.
    * Implemented decoding of loop and mtd ioctls.
    * Added syscall entries for new linux syscalls.
    * Added syscall entries for direct socket system calls on powerpc.
    * Updated the list of errno constants.
    * Updated lists of MSG_*, STA_*, and TCP_* constants.
    * Regenerated the list of ioctl names from Linux 3.3.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=22
2012-05-03 11:03:48 +00:00

14 lines
435 B
Diff

--- strace-4.5.20/util.c.orig 2010-02-04 23:40:57.000000000 +0100
+++ strace-4.5.20/util.c 2010-04-15 14:26:42.697554000 +0200
@@ -1292,9 +1292,8 @@ arg_setup(struct tcb *tcp, arg_setup_sta
sof = (cfm >> 0) & 0x7f;
sol = (cfm >> 7) & 0x7f;
- bsp = (long) ia64_rse_skip_regs((unsigned long *) bsp, -sof + sol);
+ *state = ia64_rse_skip_regs((unsigned long *) bsp, -sof + sol);
- *state = (unsigned long *) bsp;
return 0;
}