From: Bart Van Assche Date: Sun, 27 Jan 2013 10:58:47 +0000 (+0000) Subject: drd: Make --trace-addr trace all loads for the specified address X-Git-Tag: svn/VALGRIND_3_9_0~410 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ab171e889d883c2c6b56fa9aa3f3ad3cb730b41;p=thirdparty%2Fvalgrind.git 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 --- diff --git a/drd/drd_load_store.c b/drd/drd_load_store.c index cfe937ede9..ddfad819fc 100644 --- a/drd/drd_load_store.c +++ b/drd/drd_load_store.c @@ -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 */); } }