Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[XBT] Remove unused code
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Fri, 17 Jun 2016 13:05:37 +0000 (15:05 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Fri, 17 Jun 2016 13:06:33 +0000 (15:06 +0200)
src/xbt/memory_map.cpp

index 9babc54..0db9b1f 100644 (file)
@@ -128,8 +128,8 @@ XBT_PRIVATE std::vector<VmMap> get_memory_map(pid_t pid)
     else if (lfields[1][3] == 's')
       memreg.flags |= MAP_SHARED;
     else {
-      //fprintf(stderr,"%s", line);
-      xbt_die("Flag was neither 'p' (private) nor 's' (shared). This should have never happened! Instead, the permissions column was set to: %s", lfields[1]);
+      xbt_die("Flag was neither 'p' (private) nor 's' (shared). This should have never happened! Instead, the permissions column was set to: %s\n"
+              "This was the whole line that caused the trouble: %s", lfields[1], line);
     }
 
     /* Get the offset value */