Hello community, here is the log from the commit of package strace checked in at Fri Sep 29 18:17:00 CEST 2006. -------- --- strace/strace.changes 2006-09-08 23:27:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/strace/strace.changes 2006-09-29 10:52:27.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Sep 29 10:52:03 CEST 2006 - schwab@suse.de + +- Fix use of PT_GETSIGINFO. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ strace.spec ++++++ --- /var/tmp/diff_new_pack.URfENv/_old 2006-09-29 18:16:28.000000000 +0200 +++ /var/tmp/diff_new_pack.URfENv/_new 2006-09-29 18:16:28.000000000 +0200 @@ -16,7 +16,7 @@ Group: Development/Tools/Debuggers Autoreqprov: on Version: 4.5.14 -Release: 20 +Release: 23 Summary: A utility to trace the system calls of a program Source: strace-%{version}.tar.bz2 Patch99: strace-cvs.diff @@ -86,6 +86,8 @@ %doc %{_mandir}/man1/strace.1.gz %changelog -n strace +* Fri Sep 29 2006 - schwab@suse.de +- Fix use of PT_GETSIGINFO. * Fri Sep 08 2006 - schwab@suse.de - Fix last change. * Thu Sep 07 2006 - schwab@suse.de ++++++ strace-4.5.14.diff ++++++ --- /var/tmp/diff_new_pack.URfENv/_old 2006-09-29 18:16:28.000000000 +0200 +++ /var/tmp/diff_new_pack.URfENv/_new 2006-09-29 18:16:28.000000000 +0200 @@ -64,7 +64,7 @@ } --- strace.c +++ strace.c -@@ -1375,7 +1375,7 @@ +@@ -1382,7 +1382,7 @@ #ifdef LINUX if (zombie != NULL) @@ -73,7 +73,7 @@ #endif return error; -@@ -1955,7 +1955,7 @@ +@@ -1962,7 +1962,7 @@ fprintf(stderr, "PANIC: handle_group_exit: %d leader %d\n", tcp->pid, leader ? leader->pid : -1); @@ -82,3 +82,28 @@ } else { /* Mark that we are taking the process down. */ +@@ -2259,6 +2259,7 @@ + && (qual_flags[WSTOPSIG(status)] & QUAL_SIGNAL)) { + unsigned long addr = 0, pc = 0; + #ifdef PT_GETSIGINFO ++# if defined IA64 && defined LINUX + # define PSR_RI 41 + struct siginfo si; + unsigned long psr; +@@ -2269,7 +2270,7 @@ + pc += (psr >> PSR_RI) & 0x3; + ptrace(PT_GETSIGINFO, pid, 0, (long) &si); + addr = (unsigned long) si.si_addr; +-#elif defined PTRACE_GETSIGINFO ++# else + if (WSTOPSIG(status) == SIGSEGV || + WSTOPSIG(status) == SIGBUS) { + siginfo_t si; +@@ -2278,6 +2279,7 @@ + addr = (unsigned long) + si.si_addr; + } ++# endif + #endif + printleader(tcp); + tprintf("--- %s (%s) @ %lx (%lx) ---", ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de