aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--executor/common_fuchsia.h4
-rw-r--r--pkg/csource/generated.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h
index d232f2a14..6c2381d28 100644
--- a/executor/common_fuchsia.h
+++ b/executor/common_fuchsia.h
@@ -84,9 +84,9 @@ static void* ex_handler(void* arg)
debug("zx_thread_write_state failed: %d\n", status);
}
}
- status = zx_task_resume(thread, ZX_RESUME_EXCEPTION);
+ status = zx_task_resume_from_exception(thread, port, 0);
if (status != ZX_OK) {
- debug("zx_task_resume failed: %d\n", status);
+ debug("zx_task_resume_from_exception failed: %d\n", status);
}
zx_handle_close(thread);
}
diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go
index 9f780d219..f8a67d45d 100644
--- a/pkg/csource/generated.go
+++ b/pkg/csource/generated.go
@@ -514,9 +514,9 @@ static void* ex_handler(void* arg)
debug("zx_thread_write_state failed: %d\n", status);
}
}
- status = zx_task_resume(thread, ZX_RESUME_EXCEPTION);
+ status = zx_task_resume_from_exception(thread, port, 0);
if (status != ZX_OK) {
- debug("zx_task_resume failed: %d\n", status);
+ debug("zx_task_resume_from_exception failed: %d\n", status);
}
zx_handle_close(thread);
}