gas/
[deliverable/binutils-gdb.git] / gdb / symmisc.c
index b0ab29b6c7d35dc24108ec14d5019a05d8151d29..d5a737b0498593ec1452fab3f9eb2cda73e7e4de 100644 (file)
@@ -353,8 +353,9 @@ dump_symtab_1 (struct objfile *objfile, struct symtab *symtab,
            }
          fprintf_filtered (outfile, "\n");
          /* Now print each symbol in this block (in no particular order, if
-            we're using a hashtable).  */
-         ALL_BLOCK_SYMBOLS (b, iter, sym)
+            we're using a hashtable).  Note that we only want this
+            block, not any blocks from included symtabs.  */
+         ALL_DICT_SYMBOLS (BLOCK_DICT (b), iter, sym)
            {
              struct print_symbol_args s;
 
This page took 0.023251 seconds and 4 git commands to generate.