/* mc::RemoteClient: representative of the Client memory on the MC side */
-/* Copyright (c) 2008-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2008-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#ifndef SIMGRID_MC_PROCESS_H
#define SIMGRID_MC_PROCESS_H
-#include "mc/datatypes.h"
#include "src/mc/AddressSpace.hpp"
+#include "src/mc/datatypes.h"
#include "src/mc/inspect/ObjectInformation.hpp"
#include "src/mc/remote/RemotePtr.hpp"
#include "src/xbt/memory_map.hpp"
public:
explicit RemoteProcess(pid_t pid);
~RemoteProcess() override;
- void init(xbt_mheap_t mmalloc_default_mdp, unsigned long* maxpid);
+ void init(xbt_mheap_t mmalloc_default_mdp);
RemoteProcess(RemoteProcess const&) = delete;
RemoteProcess(RemoteProcess&&) = delete;
void ignore_local_variable(const char* var_name, const char* frame_name) const;
- /* ***************** */
- /* SIMIX-related API */
- /* ***************** */
-private:
- // Cache the address of the variables we read directly in the memory of remote
- RemotePtr<unsigned long> maxpid_addr_;
-
-public:
- unsigned long get_maxpid() const { return this->read(maxpid_addr_); }
-
void dump_stack() const;
private: