summaryrefslogtreecommitdiff
path: root/gdb/proc-flags.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/proc-flags.c')
-rw-r--r--gdb/proc-flags.c34
1 files changed, 20 insertions, 14 deletions
diff --git a/gdb/proc-flags.c b/gdb/proc-flags.c
index 00ff68e7e14..d2957be0782 100644
--- a/gdb/proc-flags.c
+++ b/gdb/proc-flags.c
@@ -1,22 +1,23 @@
/* Machine independent support for SVR4 /proc (process file system) for GDB.
- Copyright (C) 1999, 2000, 2007, 2008 Free Software Foundation, Inc.
+ Copyright 1999 Free Software Foundation, Inc.
Written by Michael Snyder at Cygnus Solutions.
Based on work by Fred Fish, Stu Grossman, Geoff Noer, and others.
- This file is part of GDB.
+This file is part of GDB.
- 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 3 of the License, or
- (at your option) any later version.
+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
+(at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+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, see <http://www.gnu.org/licenses/>. */
+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. */
/*
* Pretty-print the prstatus flags.
@@ -268,7 +269,10 @@ static struct trans pr_flag_table[] =
};
void
-proc_prettyfprint_flags (FILE *file, unsigned long flags, int verbose)
+proc_prettyfprint_flags (file, flags, verbose)
+ FILE *file;
+ unsigned long flags;
+ int verbose;
{
int i;
@@ -284,7 +288,9 @@ proc_prettyfprint_flags (FILE *file, unsigned long flags, int verbose)
}
void
-proc_prettyprint_flags (unsigned long flags, int verbose)
+proc_prettyprint_flags (flags, verbose)
+ unsigned long flags;
+ int verbose;
{
proc_prettyfprint_flags (stdout, flags, verbose);
}