summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/inferiors.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/inferiors.h')
-rw-r--r--gdb/gdbserver/inferiors.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbserver/inferiors.h b/gdb/gdbserver/inferiors.h
index 88ebbe373af..d7226163c0e 100644
--- a/gdb/gdbserver/inferiors.h
+++ b/gdb/gdbserver/inferiors.h
@@ -128,6 +128,9 @@ void remove_inferior (struct inferior_list *list,
struct inferior_list_entry *get_first_inferior (struct inferior_list *list);
+/* Return the first process in the processes list. */
+struct process_info *get_first_process (void);
+
struct process_info *add_process (int pid, int attached);
void remove_process (struct process_info *process);
struct process_info *find_process_pid (int pid);