drd: Make --trace-addr trace all loads for the specified address

Thanks to Florian for reporting this.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13271
This commit is contained in:
Bart Van Assche 2013-01-27 10:58:47 +00:00
parent 9816dee903
commit 0ab171e889

View File

@ -680,8 +680,7 @@ IRSB* DRD_(instrument)(VgCallbackClosure* const closure,
sizeofIRType(data->Iex.Load.ty),
NULL/* no guard */);
}
instrument_load(bb, data->Iex.Load.addr,
sizeofIRType(data->Iex.Load.ty),
instrument_load(bb, addr_expr, sizeofIRType(data->Iex.Load.ty),
NULL/* no guard */);
}
}