]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
arm64: get_Dwarf_Reg: at least handle the case of requesting XSP
authorJulian Seward <jseward@acm.org>
Tue, 15 Jul 2014 15:22:41 +0000 (15:22 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 15 Jul 2014 15:22:41 +0000 (15:22 +0000)
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

coregrind/m_debuginfo/d3basics.c

index 399953345b8ce012b4c1862ca1df39d34dcf1413..a1e87e90c86287bb10bf547f9f70dccd1235bb88 100644 (file)
@@ -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