aboutsummaryrefslogtreecommitdiff
path: root/gdb/process-stratum-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/process-stratum-target.h')
-rw-r--r--gdb/process-stratum-target.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/process-stratum-target.h b/gdb/process-stratum-target.h
index 6fddbba..31a9775 100644
--- a/gdb/process-stratum-target.h
+++ b/gdb/process-stratum-target.h
@@ -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