From: Julian Seward Date: Tue, 15 Jul 2014 15:22:41 +0000 (+0000) Subject: arm64: get_Dwarf_Reg: at least handle the case of requesting XSP X-Git-Tag: svn/VALGRIND_3_10_0~274 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8805a006b0181fc14cc286cf02cc26a1b605ea4;p=thirdparty%2Fvalgrind.git 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. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14164 --- diff --git a/coregrind/m_debuginfo/d3basics.c b/coregrind/m_debuginfo/d3basics.c index 399953345b..a1e87e90c8 100644 --- a/coregrind/m_debuginfo/d3basics.c +++ b/coregrind/m_debuginfo/d3basics.c @@ -421,7 +421,7 @@ static Bool get_Dwarf_Reg( /*OUT*/Addr* a, Word regno, RegSummary* regs ) 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