Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid-mc also needs debugging symbols, so let's hint about it
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 5 Mar 2021 23:00:30 +0000 (00:00 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 5 Mar 2021 23:31:10 +0000 (00:31 +0100)
src/mc/inspect/ObjectInformation.cpp

index c463bd3..e78ecc8 100644 (file)
@@ -172,7 +172,7 @@ void find_object_address(std::vector<xbt::VmMap> const& maps, ObjectInformation*
     else if (reg.prot == PROT_READ) {
       xbt_assert(not result->start_ro,
                  "Multiple read-only segments for %s, not supported. Compiling with the following may help: "
-                 "-Wl,-znorelro -Wl,-znoseparate-code",
+                 "-g -Wl,-znorelro -Wl,-znoseparate-code",
                  maps[i].pathname.c_str());
       result->start_ro = (char*)reg.start_addr;
       result->end_ro   = (char*)reg.end_addr;