*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / machoread.c
index 46b8842ca1b84c80a74b0a481e283d892cb315ca..1986f54ca0d9d362ede16f02c3ade5594df8df18 100644 (file)
@@ -1,5 +1,5 @@
 /* Darwin support for GDB, the GNU debugger.
-   Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+   Copyright (C) 2008-2012 Free Software Foundation, Inc.
 
    Contributed by AdaCore.
 
@@ -180,7 +180,7 @@ macho_symtab_read (struct objfile *objfile,
   const asymbol *dir_so = NULL;
   const asymbol *file_so = NULL;
   asymbol **oso_file = NULL;
-  unsigned int nbr_syms;
+  unsigned int nbr_syms = 0;
 
   /* Current state while reading stabs.  */
   enum
@@ -1032,9 +1032,13 @@ static const struct sym_fns macho_sym_fns = {
   default_symfile_segments,    /* Get segment information from a file.  */
   NULL,
   macho_symfile_relocate,      /* Relocate a debug section.  */
+  NULL,                                /* sym_get_probes */
   &psym_functions
 };
 
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_machoread;
+
 void
 _initialize_machoread ()
 {
This page took 0.02402 seconds and 4 git commands to generate.