From 4c8bc19ad2d5b9a51febf916a2a93b07da146385 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 31 May 2012 23:25:13 -0700 Subject: rt: Refactor task failure to go through rust_task_fail This is the place to but a breakpoint. We will raise SIGINT here to break into the debugger. --- src/rt/rust_upcall.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/rt/rust_upcall.cpp') diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index ac11ee7a26b..21df231aee7 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -116,9 +116,7 @@ extern "C" CDECL void upcall_s_fail(s_fail_args *args) { rust_task *task = rust_get_current_task(); LOG_UPCALL_ENTRY(task); - LOG_ERR(task, upcall, "upcall fail '%s', %s:%" PRIdPTR, - args->expr, args->file, args->line); - task->fail(); + task->fail(args->expr, args->file, args->line); } extern "C" CDECL void -- cgit 1.4.1-3-g733a5