From e35bbebc81ec246827862fd85757787f5463bdb7 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Thu, 25 Jan 2018 01:21:23 +0100 Subject: [PATCH] add another message useful for debugging here --- src/smpi/bindings/smpi_mpi.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/smpi/bindings/smpi_mpi.cpp b/src/smpi/bindings/smpi_mpi.cpp index 7d519b1377..3e331dd16b 100644 --- a/src/smpi/bindings/smpi_mpi.cpp +++ b/src/smpi/bindings/smpi_mpi.cpp @@ -16,8 +16,10 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_mpi, smpi, "Logging specific to SMPI ,(mpi) #define WRAPPED_PMPI_CALL(type,name,args,args2) \ type name args { \ -XBT_VERB("SMPI - Entering %s", __FUNCTION__);\ -return P##name args2 ; \ + XBT_VERB("SMPI - Entering %s", __FUNCTION__);\ + type ret = P##name args2 ; \ + XBT_VERB("SMPI - Leaving %s", __FUNCTION__);\ + return ret;\ }\ #define UNIMPLEMENTED_WRAPPED_PMPI_CALL(type,name,args,args2) \ -- 2.20.1