From: Alex B. <ker...@be...> - 2009-05-21 15:06:50
|
2009/5/21 Julian Seward <js...@ac...>: > >> Is there any way I could mark an interesting location in memory with >> the client mechanism and then get >> Valgrind to show me a backtrace everytime the location was touched? If >> not it would be a really useful tool :-) > > yeh > > #include <memcheck/memcheck.h> > > VALGRIND_MAKE_MEM_UNADDRESSABLE(address, size); Yeah I found VALGRIND_MAKE_MEM_NOACCESS in the end. I was going word blind reading section 3.1 and wondering why I thought there were more client requests. It might be an idea to generate an index of all Client requests (and parameters) and the end of the manual. Is it some sort of docbook generated thing? -- Alex, homepage: http://www.bennee.com/~alex/ CV: http://www.bennee.com/~alex/cv.php |