aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/coregrind/m_debuginfo/readdwarf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/coregrind/m_debuginfo/readdwarf.c b/main/coregrind/m_debuginfo/readdwarf.c
index 17b3dc03b..09d5f1bf3 100644
--- a/main/coregrind/m_debuginfo/readdwarf.c
+++ b/main/coregrind/m_debuginfo/readdwarf.c
@@ -1839,6 +1839,11 @@ void ML_(read_debuginfo_dwarf1) (
/* the number of regs we are prepared to unwind */
#if defined(VGP_ppc32_linux) || defined(VGP_ppc64_linux)
# define N_CFI_REGS 72
+#elif defined (VGP_arm_linux)
+/* 287 is the highest allocated DWARF register name as of 27.07.2011
+ http://infocenter.arm.com/help/topic/com.arm.doc.ihi0040a/IHI0040A_aadwarf.pdf
+*/
+# define N_CFI_REGS 287
#else
# define N_CFI_REGS 20
#endif