of stack which it skips over.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@438
/* not weak: __attribute__((weak)) */
void longjmp(jmp_buf env, int val)
{
- __my_pthread_testcancel();
__libc_longjmp(env, val);
}
+extern void __libc_siglongjmp (sigjmp_buf env, int val)
+ __attribute__ ((noreturn));
+void siglongjmp(sigjmp_buf env, int val)
+{
+ kludged("siglongjmp (cleanup handlers are ignored)");
+ __libc_siglongjmp(env, val);
+}
+
+
extern
int __libc_send(int s, const void *msg, size_t len, int flags);
__attribute__((weak))
void sem_timedwait ( void ) { unimp("sem_timedwait"); }
void sem_unlink ( void ) { unimp("sem_unlink"); }
//void sigaction ( void ) { unimp("sigaction"); }
-void siglongjmp ( void ) { unimp("siglongjmp"); }
+//void siglongjmp ( void ) { unimp("siglongjmp"); }
//void sigwait ( void ) { unimp("sigwait"); }
void __pthread_clock_gettime ( void ) { unimp("__pthread_clock_gettime"); }
/* not weak: __attribute__((weak)) */
void longjmp(jmp_buf env, int val)
{
- __my_pthread_testcancel();
__libc_longjmp(env, val);
}
+extern void __libc_siglongjmp (sigjmp_buf env, int val)
+ __attribute__ ((noreturn));
+void siglongjmp(sigjmp_buf env, int val)
+{
+ kludged("siglongjmp (cleanup handlers are ignored)");
+ __libc_siglongjmp(env, val);
+}
+
+
extern
int __libc_send(int s, const void *msg, size_t len, int flags);
__attribute__((weak))
void sem_timedwait ( void ) { unimp("sem_timedwait"); }
void sem_unlink ( void ) { unimp("sem_unlink"); }
//void sigaction ( void ) { unimp("sigaction"); }
-void siglongjmp ( void ) { unimp("siglongjmp"); }
+//void siglongjmp ( void ) { unimp("siglongjmp"); }
//void sigwait ( void ) { unimp("sigwait"); }
void __pthread_clock_gettime ( void ) { unimp("__pthread_clock_gettime"); }
/* not weak: __attribute__((weak)) */
void longjmp(jmp_buf env, int val)
{
- __my_pthread_testcancel();
__libc_longjmp(env, val);
}
+extern void __libc_siglongjmp (sigjmp_buf env, int val)
+ __attribute__ ((noreturn));
+void siglongjmp(sigjmp_buf env, int val)
+{
+ kludged("siglongjmp (cleanup handlers are ignored)");
+ __libc_siglongjmp(env, val);
+}
+
+
extern
int __libc_send(int s, const void *msg, size_t len, int flags);
__attribute__((weak))
void sem_timedwait ( void ) { unimp("sem_timedwait"); }
void sem_unlink ( void ) { unimp("sem_unlink"); }
//void sigaction ( void ) { unimp("sigaction"); }
-void siglongjmp ( void ) { unimp("siglongjmp"); }
+//void siglongjmp ( void ) { unimp("siglongjmp"); }
//void sigwait ( void ) { unimp("sigwait"); }
void __pthread_clock_gettime ( void ) { unimp("__pthread_clock_gettime"); }