2010-05-24 Michael Snyder <msnyder@vmware.com>
[binutils-gdb.git] / gdb / symmisc.c
index 8d3e1a6f53bab61824e04f189a1dc71f3af415d3..62e6b97263c358ff5922f15d68858d3edd47aad1 100644 (file)
@@ -88,9 +88,6 @@ static int print_symbol (void *);
 void
 free_symtab (struct symtab *s)
 {
-  int i, n;
-  struct blockvector *bv;
-
   switch (s->free_code)
     {
     case free_nothing:
@@ -322,7 +319,7 @@ dump_symtab_1 (struct objfile *objfile, struct symtab *symtab,
   struct gdbarch *gdbarch = get_objfile_arch (objfile);
   int i;
   struct dict_iterator iter;
-  int len, blen;
+  int len;
   struct linetable *l;
   struct blockvector *bv;
   struct symbol *sym;
@@ -394,6 +391,7 @@ dump_symtab_1 (struct objfile *objfile, struct symtab *symtab,
          ALL_BLOCK_SYMBOLS (b, iter, sym)
            {
              struct print_symbol_args s;
+
              s.gdbarch = gdbarch;
              s.symbol = sym;
              s.depth = depth + 1;
@@ -554,6 +552,7 @@ print_symbol (void *args)
          {
            unsigned i;
            struct type *type = check_typedef (SYMBOL_TYPE (symbol));
+
            fprintf_filtered (outfile, "const %u hex bytes:",
                              TYPE_LENGTH (type));
            for (i = 0; i < TYPE_LENGTH (type); i++)
@@ -785,6 +784,7 @@ static int
 block_depth (struct block *block)
 {
   int i = 0;
+
   while ((block = BLOCK_SUPERBLOCK (block)) != NULL)
     {
       i++;