|
From: <sv...@va...> - 2014-04-14 11:54:54
|
Author: dejanj
Date: Mon Apr 14 11:54:36 2014
New Revision: 13895
Log:
mips64: Add an extra case for mips64 in ML_(get_CFA).
This patch resolves the issue with the memcheck/tests/dw4 on mips64 platform.
Modified:
trunk/coregrind/m_debuginfo/debuginfo.c
Modified: trunk/coregrind/m_debuginfo/debuginfo.c
==============================================================================
--- trunk/coregrind/m_debuginfo/debuginfo.c (original)
+++ trunk/coregrind/m_debuginfo/debuginfo.c Mon Apr 14 11:54:36 2014
@@ -2426,7 +2426,7 @@
return compute_cfa(&uregs,
min_accessible, max_accessible, di, cfsi);
}
-#elif defined(VGA_mips32)
+#elif defined(VGA_mips32) || defined(VGA_mips64)
{ D3UnwindRegs uregs;
uregs.pc = ip;
uregs.sp = sp;
|