Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mc: better way to check if address is on heap.
[simgrid.git] / src / mc / inspect / DwarfExpression.hpp
index 5891042..efb089e 100644 (file)
@@ -16,7 +16,6 @@
 #include <elfutils/libdw.h>
 #include <libunwind.h>
 
-#include "src/mc/AddressSpace.hpp"
 #include "src/mc/inspect/mc_dwarf.hpp"
 #include "src/mc/mc_forward.hpp"
 
@@ -50,16 +49,14 @@ public:
       , frame_base(nullptr)
       , address_space(nullptr)
       , object_info(nullptr)
-      , process_index(simgrid::mc::ProcessIndexMissing)
   {
   }
   /** CPU state (registers) */
   unw_cursor_t* cursor;
   void* frame_base;
   /** Address space used to read memory */
-  simgrid::mc::AddressSpace* address_space;
+  const simgrid::mc::AddressSpace* address_space;
   simgrid::mc::ObjectInformation* object_info;
-  int process_index;
 };
 
 /** When an error happens in the execution of a DWARF expression */