mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-11 05:55:48 +00:00
The original fix in svn r15793 read argument 6 separately by using PRA6 unconditionally. This is wrong. We need to first check whether a track_pre_reg_read callback is registered (only memcheck does). The PRE_REG_READX macro already had this check. Just add the same before calling PRA6. Thanks to Tom Hughes for noticing. Without this helgrind/tests/cond_timedwait_test and drd/tests/pth_inconsistent_cond_wait regtests would fail. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15795
375 KiB
375 KiB