strace/strace-4.6.diff
Marcus Meissner 4f3d8e15dc - Updated to 4.6
* Changes in behavior
    * Print diagnostic information about changes in personality mode to
      standard error instead of standard output.
  * Improvements
    * Implemented a new method of following clone, fork, and vfork
      syscalls using the Linux kernel's explicit facilities for tracing
      creation of threads and child processes.
    * Implemented CLONE_PARENT and CLONE_UNTRACED flags handling.
    * Implemented decoding of TLS syscalls on m68k.
    * Implemented biarch support on powerpc64.
    * Implemented biarch support for getrlimit() and setrlimit().
    * Implemented decoding of struct ucred in getsockopt SO_PEERCRED.
    * Implemented SOL_SCTP socket options decoding.
    * Added HDIO_* ioctl names. (Addresses Debian bug #450953).
    * Added LOOP_* ioctl names.
    * Updated lists of CLOCK_*, CLONE_*, MS_*, and SOL_* constants to match Linux 2.6.37.
    * Updated the list of IPPROTO_* constants to match netinet/in.h.
    * Implemented decoding of HDIO_* and BLK* ioctls.
    * Added MicroBlaze architecture support.
    * Added new syscall entries to match Linux 2.6.37.
    * Regenerated list of ioctl names from Linux 2.6.37.
    * Enhanced signal notification decoding.
    * Documented -C and -D options.
  * Bug fixes
    * Fixed fetching syscall arguments on m68k.
    * Fixed an error when judging whether a process has children.
    * Fixed get/set_robust_list syscall numbers for powerpc.
    * Fixed a corner case in printing clone flags.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=13
2011-03-16 10:18:45 +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;
}