Use of valgrind with microthreading
Shachar Shemesh <[email protected]>
| Newsgroups | gmane.comp.debugging.valgrind |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I am writing my own C++ microthreading library. At the very first switch, I get the following message from Valgrind: ==15122== Warning: client switching stacks? SP change: 0x1ffeffe788 --> 0x75d0f80 ==15122== to suppress, use: --max-stackframe=137298630664 or greater I understand that valgrind needs to know where the stack starts and ends. I am wondering whether is any way I can tell it that information. Since I'm writing the library, what I was thinking was compiling the library with a special flag saying "you're running with valgrind", and then have my library call a valgrind function that says "This is the new stack range, this is the old one". Is there such a thing? If so, how do I interface with it? Thank you, Shachar _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users