Make a record-replay debugging functionality into Valgrind 3.9.0.
We still consider make a Valgrind tool with RR-functionality or make patch to Valgrind core to let it support RR.
We want to use record-replay functionality with vgdb for debugging.
We are now doing the plan on valgrindrr_porting
branch which is porting Mojiong's valgrindrr (for valgrind 3.3) to valgrind 3.9.
same as valgrind. refer to build valgrind tool
./autogen.sh ./configure --prefix=`pwd`/inst make make install
The executable is inst/bin/valgrind
.
record:
valgrind --record-replay=1 --log-file-rr=<log_file> <exe> <exe_args>
<exe>
and <exe_args>
is client program we want to run on the valgrindrr.
replay:
valgrind --record-replay=2 --log-file-rr=<log_file>
RR functionality testing codes are in rr_testcode
directory.
- bugs
- #1 is for localtime_test.c, the part of
/bin/date
program - #2 is for file_IO.c.
- #1 is for localtime_test.c, the part of