< prev index next >

src/jdk.hotspot.agent/macosx/native/libsaproc/MacosxDebuggerLocal.m

Print this page

        

@@ -391,11 +391,11 @@
 
   task_t gTask = getTask(env, this_obj);
   // Try to read each of the pages.
   for (i = 0; i < pageCount; i++) {
     result = vm_read(gTask, alignedAddress + i*vm_page_size, vm_page_size,
-                     &pages[i], &byteCount);
+                     &pages[i], &byteCount);
     mapped[i] = (result == KERN_SUCCESS);
     // assume all failures are unmapped pages
   }
 
   print_debug("%ld pages\n", pageCount);

@@ -697,12 +697,12 @@
 
   foreign_tid = tid;
 
   task_t gTask = getTask(env, this_obj);
   result = mach_port_extract_right(gTask, foreign_tid,
-                                   MACH_MSG_TYPE_COPY_SEND,
-                                   &usable_tid, &type);
+                                   MACH_MSG_TYPE_COPY_SEND,
+                                   &usable_tid, &type);
   if (result != KERN_SUCCESS)
     return -1;
 
   print_debug("translateTID0: 0x%x -> 0x%x\n", foreign_tid, usable_tid);
 
< prev index next >