gdb: on exec, delegate pushing / unpushing target and adding thread to target_ops...
[deliverable/binutils-gdb.git] / gdb / process-stratum-target.h
index 6fddbba90c72c61029c5eadbc6145aa13b205a52..31a97753db9c01037db197f276780c7ef1d27765 100644 (file)
@@ -63,6 +63,14 @@ public:
   bool has_registers () override;
   bool has_execution (inferior *inf) override;
 
+  /* Default implementation of follow_exec.
+
+     If the current inferior and FOLLOW_INF are different (execution continues
+     in a new inferior), push this process target to FOLLOW_INF's target stack
+     and add an initial thread to FOLLOW_INF.  */
+  void follow_exec (inferior *follow_inf, ptid_t ptid,
+                   const char *execd_pathname) override;
+
   /* True if any thread is, or may be executing.  We need to track
      this separately because until we fully sync the thread list, we
      won't know whether the target is fully stopped, even if we see
This page took 0.024014 seconds and 4 git commands to generate.