Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
more verbose on error
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 23 Mar 2010 00:50:35 +0000 (00:50 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 23 Mar 2010 00:50:35 +0000 (00:50 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7305 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/simix/smx_process.c
tools/doxygen/xbt_log_extract_hierarchy.pl

index 677a375..0b341d3 100644 (file)
@@ -176,7 +176,7 @@ void SIMIX_process_kill(smx_process_t process)
     SIMIX_context_stop(process->context);
 
   } else {
     SIMIX_context_stop(process->context);
 
   } else {
-    DEBUG4("%s(%p) here! killing %s(%p) %s",
+    DEBUG4("%s(%p) here! killing %s(%p)",
         simix_global->current_process->name,simix_global->current_process,
         process->name,process);
 
         simix_global->current_process->name,simix_global->current_process,
         process->name,process);
 
@@ -466,7 +466,7 @@ void SIMIX_process_schedule(smx_process_t new_process)
   simix_global->current_process = new_process;
 
   /* schedule the context */
   simix_global->current_process = new_process;
 
   /* schedule the context */
-  SIMIX_context_resume(simix_global->maestro_process->context,new_process->context);
+  SIMIX_context_resume(new_process->context);
   DEBUG1("Resumed from scheduling context: '%s'", new_process->name);
 
   /* restore the current process to the previously saved process */
   DEBUG1("Resumed from scheduling context: '%s'", new_process->name);
 
   /* restore the current process to the previously saved process */
index 64d9a25..8d9e70c 100755 (executable)
@@ -87,7 +87,7 @@ sub parse_file {
         my ($name,$anc,$desc) = cleanup_ctn($1);
            
         # build the tree, checking for name conflict
         my ($name,$anc,$desc) = cleanup_ctn($1);
            
         # build the tree, checking for name conflict
-        die "ERROR: Category name conflict: $name used several times\n"
+        die "ERROR: Category name conflict: $name used several times (in $ancestor{$name} and $anc, last time in $filename)\n"
           if defined ($ancestor{$name}) && $ancestor{$name} ne $anc &&
               defined ($desc{$name}) && $desc{$name} ne $desc;
        $ancestor{$name}=$anc;
           if defined ($ancestor{$name}) && $ancestor{$name} ne $anc &&
               defined ($desc{$name}) && $desc{$name} ne $desc;
        $ancestor{$name}=$anc;