]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Cover the unknown-platform case.
authorNicholas Nethercote <njn@valgrind.org>
Sun, 15 May 2005 18:51:47 +0000 (18:51 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sun, 15 May 2005 18:51:47 +0000 (18:51 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3725

coregrind/vg_dwarf.c

index 438f414b6e6c5f673de1c29f020f39cf62d2ba9d..e5e6b4de45ca7baf3d0134f0eab68a2d3b3e17a1 100644 (file)
@@ -918,13 +918,15 @@ static void initCfiSI ( CfiSI* si )
 /* --------------- Decls --------------- */
 
 #if defined(VGP_x86_linux)
-#define FP_REG         5
-#define SP_REG         4
-#define RA_REG_DEFAULT 8
+#  define FP_REG         5
+#  define SP_REG         4
+#  define RA_REG_DEFAULT 8
 #elif defined(VGP_amd64_linux)
-#define FP_REG         6
-#define SP_REG         7
-#define RA_REG_DEFAULT 16
+#  define FP_REG         6
+#  define SP_REG         7
+#  define RA_REG_DEFAULT 16
+#else
+#  error Unknown platform
 #endif
 
 /* the number of regs we are prepared to unwind */