X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8cbf22c982842e3e988125fef8f898dec699097b..0d532db1711fc2383a3df2cb20a583281ad5adce:/src/xbt/ex.c diff --git a/src/xbt/ex.c b/src/xbt/ex.c index 3f333ce914..f4ab2b7304 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -50,7 +50,6 @@ #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 +141,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 +175,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 */