|
From: <sv...@va...> - 2005-05-15 18:51:50
|
Author: njn Date: 2005-05-15 19:51:47 +0100 (Sun, 15 May 2005) New Revision: 3725 Modified: trunk/coregrind/vg_dwarf.c Log: Cover the unknown-platform case. Modified: trunk/coregrind/vg_dwarf.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/vg_dwarf.c 2005-05-15 17:38:56 UTC (rev 3724) +++ trunk/coregrind/vg_dwarf.c 2005-05-15 18:51:47 UTC (rev 3725) @@ -918,13 +918,15 @@ /* --------------- Decls --------------- */ =20 #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 =20 /* the number of regs we are prepared to unwind */ |