Fix GDB build failure when $development is false
[deliverable/binutils-gdb.git] / gdb / gnu-nat.h
index a2139912df40c265c5f1eb9bde5b17f8a99f8f77..fb96b2980d23463dc0ed4a6878a6674e260a6b3b 100644 (file)
@@ -1,6 +1,5 @@
 /* Common things used by the various *gnu-nat.c files
-   Copyright (C) 1995, 1996, 1997, 1999, 2000, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 1995-2018 Free Software Foundation, Inc.
 
    Written by Miles Bader <miles@gnu.ai.mit.edu>
 
@@ -30,6 +29,11 @@ extern struct inf *gnu_current_inf;
 /* Converts a GDB pid to a struct proc.  */
 struct proc *inf_tid_to_thread (struct inf *inf, int tid);
 
+typedef void (inf_threads_ftype) (struct proc *thread, void *arg);
+
+/* Call F for every thread in inferior INF, passing ARG as second parameter.  */
+void inf_threads (struct inf *inf, inf_threads_ftype *f, void *arg);
+
 /* Makes sure that INF's thread list is synced with the actual process.  */
 int inf_update_procs (struct inf *inf);
 
This page took 0.023945 seconds and 4 git commands to generate.