From: Arnaud Giersch Date: Tue, 2 Oct 2018 11:47:12 +0000 (+0200) Subject: Actually use given parameters. X-Git-Tag: v3_21~3^2~12 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f778fec3e0ea179d317ec29b3570d18ed70692a3?hp=7cf87212645141665f1b2d80208bcadf77bdc344 Actually use given parameters. --- diff --git a/src/xbt/exception.cpp b/src/xbt/exception.cpp index c14e9aed27..0a0f335d86 100644 --- a/src/xbt/exception.cpp +++ b/src/xbt/exception.cpp @@ -21,7 +21,8 @@ xbt_ex::~xbt_ex() = default; void _xbt_throw(char* message, xbt_errcat_t errcat, int value, const char* file, int line, const char* func) { - xbt_ex e(simgrid::xbt::ThrowPoint(XBT_THROW_POINT), message); + xbt_ex e(simgrid::xbt::ThrowPoint(file, line, func, simgrid::xbt::backtrace(), xbt_procname(), xbt_getpid()), + message); xbt_free(message); e.category = errcat; e.value = value;