[Mesa-dev] [PATCH 04/15] ddebug: don't use abort()

Marek Olšák maraeo at gmail.com
Sat Jul 23 00:14:27 UTC 2016


From: Marek Olšák <marek.olsak at amd.com>

We don't want a core dump.
---
 src/gallium/drivers/ddebug/dd_draw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/ddebug/dd_draw.c b/src/gallium/drivers/ddebug/dd_draw.c
index 35ae774..8cc51fc 100644
--- a/src/gallium/drivers/ddebug/dd_draw.c
+++ b/src/gallium/drivers/ddebug/dd_draw.c
@@ -556,7 +556,7 @@ dd_kill_process(void)
    fprintf(stderr, "dd: Aborting the process...\n");
    fflush(stdout);
    fflush(stderr);
-   abort();
+   exit(1);
 }
 
 static bool
-- 
2.7.4



More information about the mesa-dev mailing list