getcontext() seems to be unimplemented on glibc-2.3.3 on ppc64-linux.

Handle that eventuality.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5559
This commit is contained in:
Julian Seward 2006-01-19 03:53:53 +00:00
parent aaacb37226
commit a7e7378dae
2 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,8 @@ int init_context(struct ucontext *uc)
int ret;
if (getcontext(uc) == -1) {
perror("getcontext");
//perror("getcontext");
printf("getcontext() doesn't seem to work\n");
exit(1);
}

View File

@ -0,0 +1 @@
getcontext() doesn't seem to work