From 08a6608467acdff850db05025655b05b1b2c4348 Mon Sep 17 00:00:00 2001 From: Icecream95 Date: Mon, 31 May 2021 23:18:07 +1200 Subject: [PATCH] panfrost: Call abort() when aborting on fault The existing exit(EIO) wasn't getting trapped by debuggers. Part-of: --- src/panfrost/lib/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/lib/decode.c b/src/panfrost/lib/decode.c index 65932804545..49898b959de 100644 --- a/src/panfrost/lib/decode.c +++ b/src/panfrost/lib/decode.c @@ -1150,7 +1150,7 @@ pandecode_abort_on_fault(mali_ptr jc_gpu_va) /* Ensure the job is marked COMPLETE */ if (h.exception_status != 0x1) { fprintf(stderr, "Incomplete job or timeout"); - exit(EIO); + abort(); } } while ((jc_gpu_va = next_job));