gdb/linux-record: Fix newfstatat handling
[deliverable/binutils-gdb.git] / gdb / proc-flags.c
index 00ff68e7e143e0906731f78ad6ff1fc517295ff1..50252315575853f0833bf0af4eb83c8918a290ce 100644 (file)
@@ -1,5 +1,5 @@
 /* Machine independent support for SVR4 /proc (process file system) for GDB.
-   Copyright (C) 1999, 2000, 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 1999-2015 Free Software Foundation, Inc.
    Written by Michael Snyder at Cygnus Solutions.
    Based on work by Fred Fish, Stu Grossman, Geoff Noer, and others.
 
 #define _STRUCTURED_PROC 1
 #endif
 
-#include <stdio.h>
 #include <sys/types.h>
 #include <sys/procfs.h>
 
+#include "proc-utils.h"
+
 /*  Much of the information used in the /proc interface, particularly for
     printing status information, is kept as tables of structures of the
     following form.  These tables can be used to map numeric values to
-    their symbolic names and to a string that describes their specific use. */
+    their symbolic names and to a string that describes their specific use.  */
 
 struct trans {
   int value;                    /* The numeric value */
@@ -47,7 +48,7 @@ struct trans {
 };
 
 /* Translate bits in the pr_flags member of the prstatus structure,
-   into the names and desc information. */
+   into the names and desc information.  */
 
 static struct trans pr_flag_table[] =
 {
This page took 0.024785 seconds and 4 git commands to generate.