|
From: Tom H. <to...@co...> - 2006-09-07 14:32:14
|
In message <115...@ok...>
Alex Bennee <ker...@be...> wrote:
>> > Is there a way to log the loads and stores valgrind makes?
>>
>> No. I'm not even entirely sure what loads and stores you are talking
>> about, but the answer is no anyway.
>
> Well something is writing the memory. As we known the address of the
> memory in question is there a way to hook into valgrind and ask it "let
> me know the 2nd time a value is written to this address"?
There's the old watchpoint patch somewhere but I have no idea if
it still applies... That will only catches writes made by your
code though.
There is no way to spot writes made by valgrind itself other than
by running it under gdb and using the normal gdb watchpoint support.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|