* dwarf2read.c (macro_start_file): Update.
[deliverable/binutils-gdb.git] / gdb / proc-events.c
index 1a4e740b51efd013a4d4b75715a4c51ac5eee1b7..216a65aa55a760e69cc1cbc1badef32a7561defc 100644 (file)
@@ -1,13 +1,14 @@
 /* Machine-independent support for SVR4 /proc (process file system)
 
-   Copyright 1999, 2000, 2004 Free Software Foundation, Inc.
+   Copyright (C) 1999-2000, 2004, 2007-2012 Free Software Foundation,
+   Inc.
 
    Written by Michael Snyder at Cygnus Solutions.
    Based on work by Fred Fish, Stu Grossman, Geoff Noer, and others.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
@@ -16,9 +17,7 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 /* Pretty-print "events of interest".
 
@@ -46,6 +45,8 @@
 #include <sys/fault.h>
 #endif
 
+#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
@@ -106,7 +107,7 @@ struct trans
 #define MAX_SYSCALLS 262       /* Pretty arbitrary.  */
 static char *syscall_table[MAX_SYSCALLS];
 
-void
+static void
 init_syscall_table (void)
 {
 #ifdef SYS_BSD_getime
@@ -1516,7 +1517,8 @@ static struct trans signal_table[] =
   { SIGIO, "SIGIO", "Socket I/O possible" },   /* alias for SIGPOLL */
 #endif
 #ifdef SIGSTOP
-  { SIGSTOP, "SIGSTOP", "Stop, not from tty" },        /* cannot be caught or ignored */
+  { SIGSTOP, "SIGSTOP", "Stop, not from tty" },        /* cannot be caught or
+                                                  ignored */
 #endif
 #ifdef SIGTSTP
   { SIGTSTP, "SIGTSTP", "User stop from tty" },
This page took 0.084268 seconds and 4 git commands to generate.