Philippe Waroquiers 37d9d6d185 Fix assert due to gdbserver discarding translation
The fix consists in checking if the translation
of the 'from' address is still existing.

Patch also contains a big comment explaining why it is
safe to discard/erase the current translation being
executed.

In a follow-up patch, the Bool in VG_(translate) will
be removed :
  Bool VG_(translate) ( /*OUT*/Bool* caused_discardP,
(if experiment confirms the hypothesis that it is
safe to discard current translation).



git-svn-id: svn://svn.valgrind.org/valgrind/branches/TCHAIN@12488
2012-04-04 22:44:18 +00:00
..