mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
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:
parent
aaacb37226
commit
a7e7378dae
@ -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);
|
||||
}
|
||||
|
||||
|
||||
1
memcheck/tests/stack_changes.stdout.exp2
Normal file
1
memcheck/tests/stack_changes.stdout.exp2
Normal file
@ -0,0 +1 @@
|
||||
getcontext() doesn't seem to work
|
||||
Loading…
x
Reference in New Issue
Block a user