From 1118c3dfb177749ccad4049b985942182783e5f9 Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 9 Nov 2011 21:41:52 +0000 Subject: [PATCH] ARM cleanup. --- unwind-arm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unwind-arm.h b/unwind-arm.h index d65ced3..e041cbf 100644 --- a/unwind-arm.h +++ b/unwind-arm.h @@ -129,12 +129,12 @@ extern unsigned long _Unwind_GetRegionStart(struct _Unwind_Context *); static inline unsigned long _Unwind_GetGR(struct _Unwind_Context *context, int reg) { unsigned long val; - _Unwind_VRS_Get(context, 0, reg, 0, &val); + _Unwind_VRS_Get(context, _UVRSC_CORE, reg, _UVRSD_UINT32, &val); return val; } static inline void _Unwind_SetGR(struct _Unwind_Context *context, int reg, unsigned long val) { - _Unwind_VRS_Set(context, 0, reg, 0, &val); + _Unwind_VRS_Set(context, _UVRSC_CORE, reg, _UVRSD_UINT32, &val); } static inline unsigned long _Unwind_GetIP(_Unwind_Context *context) {