X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8340b9ca34a27bc19136607105d3ec1fe15c91db..982b71db436b5e176fa75bc3d8a05b339c57717c:/src/xbt/ex.c diff --git a/src/xbt/ex.c b/src/xbt/ex.c index d853cf56dd..1017b5f20c 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -46,7 +46,6 @@ #include "portable.h" /* execinfo when available */ #include "xbt/ex.h" #include "xbt/str.h" -#include "xbt/module.h" /* xbt_binary_name */ #include "xbt_modinter.h" /* backtrace initialization headers */ #include "xbt/ex_interface.h" @@ -140,7 +139,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", - xbt_os_procname(), xbt_getpid(), + xbt_binary_name, xbt_getpid(), xbt_ex_catname(e->category), e->value, e->msg, e->procname, thrower ? thrower : " in this process"); XBT_CRITICAL("%s", e->msg); @@ -317,7 +316,8 @@ XBT_TEST_UNIT("variables", test_variables, "variable value preservation") xbt_ex_t ex; int r1; int _XBT_GNUC_UNUSED r2; - volatile int v1, v2; + int v1; + volatile int v2; r1 = r2 = v1 = v2 = 1234; TRY {