mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
669 B

  1. Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
  2. Date: 2006-12-29
  3. Initial Package Version: 4.5.14
  4. Upstream Status: Merged
  5. Origin: Appears to have come from fedora, to fix RH#209856
  6. Description: Allows compilation with glibc-2.5
  7. --- strace-4.5.14/strace.c.orig 2006-12-29 22:42:51.000000000 +0000
  8. +++ strace-4.5.14/strace.c 2006-12-29 22:43:16.000000000 +0000
  9. @@ -2251,7 +2251,7 @@
  10. if (!cflag
  11. && (qual_flags[WSTOPSIG(status)] & QUAL_SIGNAL)) {
  12. unsigned long addr = 0, pc = 0;
  13. -#ifdef PT_GETSIGINFO
  14. +#if defined(PT_CR_IPSR) && defined(PT_CR_IIP) && defined(PT_GETSIGINFO)
  15. # define PSR_RI 41
  16. struct siginfo si;
  17. unsigned long psr;