gnulib: define the path to gnulib's parent dir
[binutils-gdb.git] / gdbserver / inferiors.h
index bf2a16f801ecb4adf12ef3e9ac0288a56cb765b0..7754f745cd7d99e4387fc294b602d77b215f0d9b 100644 (file)
@@ -1,5 +1,5 @@
 /* Inferior process information for the remote server for GDB.
-   Copyright (C) 1993-2020 Free Software Foundation, Inc.
+   Copyright (C) 1993-2021 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -20,6 +20,7 @@
 #define GDBSERVER_INFERIORS_H
 
 #include "gdbsupport/gdb_vecs.h"
+#include "dll.h"
 #include <list>
 
 struct thread_info;
@@ -68,6 +69,12 @@ struct process_info
 
   /* Private target data.  */
   struct process_info_private *priv = NULL;
+
+  /* DLLs thats are loaded for this proc.  */
+  std::list<dll_info> all_dlls;
+
+  /* Flag to mark that the DLL list has changed.  */
+  bool dlls_changed = false;
 };
 
 /* Get the pid of PROC.  */
@@ -119,7 +126,7 @@ find_process (Func func)
       next++;
 
       if (func (*cur))
-        return *cur;
+       return *cur;
 
       cur = next;
     }