aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r--gdb/linux-nat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h
index 4dcbe9e..e3cefff 100644
--- a/gdb/linux-nat.h
+++ b/gdb/linux-nat.h
@@ -164,6 +164,12 @@ public:
virtual void low_new_clone (struct lwp_info *parent, pid_t child_lwp)
{}
+ /* The method to call, if any, when we have a new (from run/attach,
+ not fork) process to debug. The process is ptrace-stopped when
+ this is called. */
+ virtual void low_init_process (pid_t pid)
+ {}
+
/* The method to call, if any, when a process is no longer
attached. */
virtual void low_forget_process (pid_t pid)