siginfo.patch 550 B

123456789101112131415
  1. diff -Nur gcc-4.6.3.orig/gcc/config/i386/linux-unwind.h gcc-4.6.3/gcc/config/i386/linux-unwind.h
  2. --- gcc-4.6.3.orig/gcc/config/i386/linux-unwind.h 2011-01-03 21:52:22.000000000 +0100
  3. +++ gcc-4.6.3/gcc/config/i386/linux-unwind.h 2012-08-02 11:47:11.000000000 +0200
  4. @@ -133,9 +133,9 @@
  5. {
  6. struct rt_sigframe {
  7. int sig;
  8. - struct siginfo *pinfo;
  9. + siginfo_t *pinfo;
  10. void *puc;
  11. - struct siginfo info;
  12. + siginfo_t info;
  13. struct ucontext uc;
  14. } *rt_ = context->cfa;
  15. /* The void * cast is necessary to avoid an aliasing warning.