From c752f076366685d0b31efe4745774aa3a2ff7270 Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 24 Jun 2010 09:17:35 +0000 Subject: [PATCH] mask bottom of stacks when using sysv ctx git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7926 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/backtrace_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xbt/backtrace_linux.c b/src/xbt/backtrace_linux.c index e5ddbb9ab4..da489dc102 100644 --- a/src/xbt/backtrace_linux.c +++ b/src/xbt/backtrace_linux.c @@ -283,8 +283,8 @@ void xbt_ex_setup_backtrace(xbt_ex_t * e) /* Mask the bottom of the stack */ if (!strncmp("main", line_func, strlen("main")) || - !strncmp("xbt_thread_context_wrapper", line_func, - strlen("xbt_thread_context_wrapper"))) { + !strncmp("xbt_thread_context_wrapper", line_func, strlen("xbt_thread_context_wrapper"))|| + !strncmp("smx_ctx_sysv_wrapper",line_func,strlen("smx_ctx_sysv_wrapper"))) { int j; for (j = i + 1; j < e->used; j++) -- 2.20.1