commit | 9228067d09e9f889ea9658c4769442448ff5bff3 | [log] [tgz] |
---|---|---|
author | petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Sun Sep 09 01:56:56 2012 +0000 |
committer | petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Sun Sep 09 01:56:56 2012 +0000 |
tree | 9f34fe3dddf98e21d25fac6c0fa46c3d9822a139 | |
parent | 7c1fe61664af09380a036415215e3e34855afe40 [diff] |
Restore unwind regs structure if VG_(use_CF_info) fails on MIPS. If VG_(use_CF_info) fails to find the next frame using loaded debug symbols, it will still change the data in uregs. Thus, we need to have uregs_copy before calling VG_(use_CF_info), and restore uregs if the call returns wrong data. This fixes drd/tests/tc04_free_lock on MIPS. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12962 a5019735-40e9-0310-863c-91ae7b9d1cf9