1. 20 Dec, 2011 1 commit
  2. 12 Jan, 2007 1 commit
  3. 27 Feb, 2006 1 commit
    • re PR other/26208 (Serious problem with unwinding through signal frames) · 754e45a8
      	PR other/26208
      	* unwind-dw2.c (struct _Unwind_Context): Add signal_frame field.
      	(extract_cie_info): Handle S flag in augmentation string.
      	(execute_cfa_program): If context->signal_frame, execute also
      	fs->pc == context->ra instructions.
      	(uw_frame_state_for): If context->signal_frame, don't subtract one
      	from context->ra to find FDE.
      	(uw_update_context_1): Set context->signal_frame to
      	fs->signal_frame.
      	(_Unwind_GetIPInfo): New function.
      	* unwind-dw2.h (_Unwind_FrameState): Add signal_frame field.
      	* unwind-c.c (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
      	of _Unwind_GetIP.
      	* unwind-sjlj.c (_Unwind_GetIPInfo): New function.
      	* unwind-generic.h (_Unwind_GetIPInfo): New prototype.
      	* unwind-compat.c (_Unwind_GetIPInfo): New function.
      	* libgcc-std.ver (_Unwind_GetIPInfo): Export @@GCC_4.2.0.
      	* config/ia64/unwind-ia64.c (_Unwind_GetIPInfo): New function.
      	* config/arm/unwind-arm.h (_Unwind_GetIPInfo): Define.
      	* config/i386/linux-unwind.h (x86_fallback_frame_state,
      	x86_64_fallback_frame_state): Set fs->signal_frame.
      	* config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
      	(MD_FROB_UPDATE_CONTEXT): Define unconditionally.
      	(frob_update_context): Likewise.  Workaround missing S flag in
      	Linux 2.6.12 - 2.6.16 kernel vDSOs.
      	* config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
      	Remove the psw_addr + 1 hack.
      libjava/
      	* exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
      	of _Unwind_GetIP.
      	* include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
      	(HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
      	to throw.
      	* include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
      	macro.
      	* include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
      	macro.
      libstdc++-v3/
      	* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
      	_Unwind_GetIPInfo instead of _Unwind_GetIP.
      
      From-SVN: r111488
      Jakub Jelinek committed
  4. 09 Sep, 2005 1 commit
  5. 26 Sep, 2004 1 commit
    • prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings in… · c5fe8107
      prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings in the non-POSIX_VERSION case.
      
      
      	* prims.cc (unblock_signal): Annotate signum with __unused__ to
      	avoid warnings in the non-POSIX_VERSION case.
      	Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
      	so place it inside an #if block.
      	* include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
      	* include/i386-signal.h (SIGNAL_HANDLER):  Likewise
      	* include/mips-signal.h (SIGNAL_HANDLER):  Likewise
      	* include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
      
      From-SVN: r88148
      Per Bothner committed
  6. 08 Feb, 2004 2 commits
  7. 30 Jul, 2003 1 commit
  8. 13 Jun, 2003 1 commit
    • prims.cc (catch_segv): Create exception in handler. · bec3e66d
      2003-06-12  Andrew Haley  <aph@redhat.com>
      
              * prims.cc (catch_segv): Create exception in handler.
              (catch_fpe): Likewise.
              (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
              (_Jv_ThrowSignal): Remove.
      
              * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
              * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
              to nullp and arithexception.
              * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
              * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
              * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
              * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
              * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
      
      From-SVN: r67892
      Andrew Haley committed
  9. 18 Mar, 2002 1 commit
  10. 17 Jul, 2001 1 commit
  11. 06 Jul, 2001 1 commit
  12. 29 May, 2001 1 commit
    • i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame pointer... · c9bffcd5
      2001-05-29  Andrew Haley  <aph@redhat.com>
      
              * include/i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame
              pointer: the dwarf unwinder in libgcc will do everything that's
              needed.
              (HANDLE_DIVIDE_OVERFLOW): Tidy.  Don't mess with stack frames any
              more than we absolutely need to.
              * configure.host (EXCEPTIONSPEC): Remove libgcj_sjlj on Alpha.
              * configure.in (SIGNAL_HANDLER): Use include/dwarf2-signal.h on
              Alpha.
              (SIGNAL_HANDLER): Test "$enable_sjlj_exceptions", not
              "$libgcj_sjlj".
              * configure: Rebuilt.
              * include/dwarf2-signal.h (MAKE_THROW_FRAME): Adjust PC
              for Alpha.
              (SIGNAL_HANDLER): Use siginfo style handler.
              (INIT_SEGV): Likewise.
              (INIT_FPE): Likewise.
              * include/ppc-signal.h: Delete whole file.
      
      From-SVN: r42691
      Andrew Haley committed
  13. 15 Feb, 2001 1 commit
  14. 30 Jan, 2001 1 commit
  15. 19 May, 2000 1 commit
  16. 07 Mar, 2000 1 commit
  17. 19 Jan, 2000 1 commit
  18. 07 Jul, 1999 1 commit
  19. 01 Jul, 1999 1 commit
  20. 20 May, 1999 1 commit
    • prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW added. · 554b61bb
      1999-05-20  Andrew Haley  <aph@cygnus.com>
              * libjava/prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW
              added.
              * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): New macro.
              (INIT_FPE): Exception string made more informative.
              * include/sparc-signal.h (INIT_FPE): Exception string made more
              informative.
              * testsuite/libjava.lang/Divide_1.java: New file.
              * testsuite/libjava.lang/Divide_1.out: New file.
      
      From-SVN: r27056
      Andrew Haley committed
  21. 20 Apr, 1999 1 commit
    • sparc-signal.h: new file. · 01f78a02
      1999-04-20  Andrew Haley  <aph@cygnus.com>
              * include/sparc-signal.h: new file.
              * configure.in: include/sparc-signal.h added.
              * configure: regenerated.
              * prims.cc (JvRunMain): signal handling code rewritten to be more
              portable.
              (catch_segv): ditto.
              (catch_fpe): ditto.
              * include/i386-signal.h: reorganized.
              * include/default-signal.h: reorganized.
      
      From-SVN: r26560
      Andrew Haley committed
  22. 13 Apr, 1999 1 commit
    • i386-signal.h, [...]: New files. · a4e44caa
      1999-04-13  Andrew Haley  <aph@cygnus.com>
              * include/i386-signal.h, include/default-signal.h: New files.
              * prims.cc (catch_segv): Call MAKE_THROW_FRAME in exception
              handler.
              (catch_fpe): New function.
              * configure.in: Make link to appropriate include/java-signal.h.
              * configure: Rebuilt.
              * Makefile.am: include/java-signal.h added to dependency list.
              * Makefile.in: Rebuilt.
      
      From-SVN: r26400
      Andrew Haley committed