aboutsummaryrefslogtreecommitdiff
path: root/binutils/coffdump.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-08-21 10:02:27 +0000
committerAndreas Jaeger <aj@suse.de>2001-08-21 10:02:27 +0000
commitc32144ff6becdde701335c5e42182163531a8611 (patch)
tree378e3a31433791acb7a7059861fc51e8a794ffb0 /binutils/coffdump.c
parent279a96ca3981d4b8c2396c26a0bbba6a02226dde (diff)
downloadgdb-c32144ff6becdde701335c5e42182163531a8611.zip
gdb-c32144ff6becdde701335c5e42182163531a8611.tar.gz
gdb-c32144ff6becdde701335c5e42182163531a8611.tar.bz2
* coffgrok.h: Add missing parameter for prototype of coff_grok.
* sysdump.c: Add missing prototypes. * srconv.c: Likewise. * unwind-ia64.c: Likewise. * coffdump.c: Likewise. * sysinfo.y: Print prototypes, include <ansidecl.h>. * coffgrok.c: Add missing prototypes, include libiberty.h instead of declaring xcalloc.
Diffstat (limited to 'binutils/coffdump.c')
-rw-r--r--binutils/coffdump.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/binutils/coffdump.c b/binutils/coffdump.c
index 80b0817..42a1e70 100644
--- a/binutils/coffdump.c
+++ b/binutils/coffdump.c
@@ -1,5 +1,5 @@
/* Coff file dumper.
- Copyright 1994, 1995, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright 1994, 1995, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -33,7 +33,21 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define PROGRAM_VERSION "1.0"
static int atnl;
-static void dump_coff_scope ();
+
+static void tab PARAMS ((int));
+static void nl PARAMS ((void));
+static void dump_coff_lines PARAMS ((struct coff_line *));
+static void dump_coff_type PARAMS ((struct coff_type *));
+static void dump_coff_where PARAMS ((struct coff_where *));
+static void dump_coff_visible PARAMS ((struct coff_visible *));
+extern void dump_coff_symbol PARAMS ((struct coff_symbol *));
+static void dump_coff_scope PARAMS ((struct coff_scope *));
+static void dump_coff_sfile PARAMS ((struct coff_sfile *));
+static void dump_coff_section PARAMS ((struct coff_section *));
+extern void coff_dump PARAMS ((struct coff_ofile *));
+static void show_usage PARAMS ((FILE *, int));
+static void show_help PARAMS ((void));
+extern int main PARAMS ((int, char **));
static void
tab (x)