From: Geoff Norton Date: Mon, 5 Nov 2007 22:04:06 +0000 (+0000) Subject: 2007-11-05 Geoff Norton X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fcd1ab3e74f157a60d42216ccb0d448916bba007;p=gc 2007-11-05 Geoff Norton * darwin_stop_world.c: Correct the structure name on Darwin-x86 for Leopard. svn path=/trunk/mono/; revision=88924 --- diff --git a/ChangeLog b/ChangeLog index 4cf9aa35..3221d772 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-11-05 Geoff Norton + + * darwin_stop_world.c: Correct the structure name on Darwin-x86 for Leopard. + 2007-11-05 Geoff Norton * darwin_stop_world.c: Also push ebp when pushing all stacks on Leopard diff --git a/darwin_stop_world.c b/darwin_stop_world.c index 4d17f7aa..20f3fc76 100644 --- a/darwin_stop_world.c +++ b/darwin_stop_world.c @@ -102,7 +102,7 @@ void GC_push_all_stacks() { if(r != KERN_SUCCESS) ABORT("thread_get_state failed"); #if defined(I386) -#if defined(_STRUCT_X86_EXCEPTION_STATE) +#if defined(_STRUCT_X86_EXCEPTION_STATE32) lo = state.__esp; GC_push_one(state.__eax); @@ -327,7 +327,7 @@ void GC_push_all_stacks() { (natural_t *)&info, &outCount); if(r != KERN_SUCCESS) continue; -#if defined(_STRUCT_X86_EXCEPTION_STATE) +#if defined(_STRUCT_X86_EXCEPTION_STATE32) lo = (void*)info.__esp; hi = (ptr_t)FindTopOfStack(info.__esp);