/* * * VMS-specific exception handling for threads (V5.5). */ #ifndef _EXC_HANDLING_VMS_H #define _EXC_HANDLING_VMS_H # ifdef __cpluscplus extern "C" { # endif /* * This header is #included by and ; * is a required prerequisite, which they both * take care of by #including , which #includes it... */ #ifdef __GNUC__ /* Return the address stored at the frame pointer's current value. if non-zero, that points at a condition handling routine. */ #undef exc_fetch_fp #define exc_fetch_fp() \ ({ exc_t_address _Fp; __asm __volatile ("movl (fp),%0" : "=g" (_Fp) : ); _Fp; }) #endif # ifdef __cpluscplus } # endif #endif /*_EXC_HANDLING_VMS_H*/