+xbt_running_ctx_t *__xbt_ex_ctx_default(void)
+{
+ /* Don't scream: this is a default which is never used (so, yes,
+ there is one setjump container by running entity).
+
+ This default gets overriden in xbt/xbt_os_thread.c so that it works in
+ real life and in simulation when using threads to implement the simulation
+ processes (ie, with pthreads and on windows).
+
+ It also gets overriden in xbt/context.c when using ucontextes (as well as
+ in Java for now, but after the java overhaul, it will get cleaned out)
+ */
+ static xbt_running_ctx_t ctx = XBT_RUNNING_CTX_INITIALIZER;
+
+ return &ctx;
+}
+
+/* Change raw libc symbols to file names and line numbers */
+void xbt_ex_setup_backtrace(xbt_ex_t * e);
+
+void xbt_backtrace_display(xbt_ex_t * e)
+{
+ xbt_ex_setup_backtrace(e);