X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8cbf22c982842e3e988125fef8f898dec699097b..3676269c65359df0174fd13b6c11687992437df8:/src/xbt/ex.c diff --git a/src/xbt/ex.c b/src/xbt/ex.c index 3f333ce914..d853cf56dd 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -48,9 +48,7 @@ #include "xbt/str.h" #include "xbt/module.h" /* xbt_binary_name */ #include "xbt_modinter.h" /* backtrace initialization headers */ -#include "xbt/synchro.h" /* xbt_thread_self */ -#include "gras/Virtu/virtu_interface.h" /* gras_os_myname */ #include "xbt/ex_interface.h" #undef HAVE_BACKTRACE @@ -142,7 +140,7 @@ void xbt_ex_display(xbt_ex_t * e) "** SimGrid: UNCAUGHT EXCEPTION received on %s(%d): category: %s; value: %d\n" "** %s\n" "** Thrown by %s()%s\n", - gras_os_myname(), xbt_getpid(), + xbt_os_procname(), xbt_getpid(), xbt_ex_catname(e->category), e->value, e->msg, e->procname, thrower ? thrower : " in this process"); XBT_CRITICAL("%s", e->msg); @@ -176,8 +174,7 @@ void xbt_ex_display(xbt_ex_t * e) void __xbt_ex_terminate_default(xbt_ex_t * e) { xbt_ex_display(e); - - abort(); + xbt_abort(); } /* the externally visible API */