2007-11-05 Geoff Norton <gnorton@novell.com>
authorGeoff Norton <grompf@sublimeintervention.com>
Mon, 5 Nov 2007 22:04:06 +0000 (22:04 -0000)
committerGeoff Norton <grompf@sublimeintervention.com>
Mon, 5 Nov 2007 22:04:06 +0000 (22:04 -0000)
    * darwin_stop_world.c: Correct the structure name on Darwin-x86 for Leopard.

svn path=/trunk/mono/; revision=88924

libgc/ChangeLog
libgc/darwin_stop_world.c

index 4cf9aa3535f171fef0905daba32538d68cc8d95e..3221d7729c36d4ae40391d4f5b081c0071d4c375 100644 (file)
@@ -1,3 +1,7 @@
+2007-11-05  Geoff Norton  <gnorton@novell.com>
+
+       * darwin_stop_world.c: Correct the structure name on Darwin-x86 for Leopard.
+
 2007-11-05  Geoff Norton  <gnorton@novell.com>
 
        * darwin_stop_world.c: Also push ebp when pushing all stacks on Leopard
index 4d17f7aa26e425533b56e8955620cad04638f672..20f3fc7614dde05524fd58512b962dadacf11930 100644 (file)
@@ -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);