X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e7773f764a1b85fcb0b25dc466b95c1ac9375085..91715e2f198242d378e33453014dd004fcf9f47e:/src/xbt/backtrace_linux.c diff --git a/src/xbt/backtrace_linux.c b/src/xbt/backtrace_linux.c index be2ebc476b..0401eebb7d 100644 --- a/src/xbt/backtrace_linux.c +++ b/src/xbt/backtrace_linux.c @@ -60,6 +60,9 @@ void xbt_ex_setup_backtrace(xbt_ex_t * e) && e->used, "Backtrace not setup yet, cannot set it up for display"); + if (!xbt_binary_name) /* no binary name, nothing to do */ + return; + backtrace_syms = backtrace_symbols(e->bt, e->used); /* ignore first one, which is this xbt_backtrace_current() */ e->used--;