Преглед изворни кода

2007-11-05 Geoff Norton <[email protected]>

    * darwin_stop_world.c: Correct the structure name on Darwin-x86 for Leopard.

svn path=/trunk/mono/; revision=88924
Geoff Norton пре 18 година
родитељ
комит
aa6355166b
2 измењених фајлова са 6 додато и 2 уклоњено
  1. 4 0
      libgc/ChangeLog
  2. 2 2
      libgc/darwin_stop_world.c

+ 4 - 0
libgc/ChangeLog

@@ -1,3 +1,7 @@
+2007-11-05  Geoff Norton  <[email protected]>
+
+	* darwin_stop_world.c: Correct the structure name on Darwin-x86 for Leopard.
+
 2007-11-05  Geoff Norton  <[email protected]>
 
 	* darwin_stop_world.c: Also push ebp when pushing all stacks on Leopard

+ 2 - 2
libgc/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);