|
From: <sv...@va...> - 2014-07-15 15:22:49
|
Author: sewardj
Date: Tue Jul 15 15:22:41 2014
New Revision: 14164
Log:
arm64: get_Dwarf_Reg: at least handle the case of requesting XSP
instead of failing. This makes some of the memcheck/tests/varinfo*
tests work somewhat correctly on arm64-linux.
Modified:
trunk/coregrind/m_debuginfo/d3basics.c
Modified: trunk/coregrind/m_debuginfo/d3basics.c
==============================================================================
--- trunk/coregrind/m_debuginfo/d3basics.c (original)
+++ trunk/coregrind/m_debuginfo/d3basics.c Tue Jul 15 15:22:41 2014
@@ -421,7 +421,7 @@
if (regno == 29) { *a = regs->sp; return True; }
if (regno == 30) { *a = regs->fp; return True; }
# elif defined(VGP_arm64_linux)
- I_die_here;
+ if (regno == 31) { *a = regs->sp; return True; }
# else
# error "Unknown platform"
# endif
|