2001-10-12 Daniel Jacobowitz <drow@mvista.com>
[deliverable/binutils-gdb.git] / gdb / breakpoint.c
index 2ce097006e78abdcbc8379316a3d86b3aadd6ae7..6593b371d5af67ca956aef61a91415a191bace3a 100644 (file)
@@ -5871,15 +5871,11 @@ get_catch_sals (int this_level_only)
          if (blocks_searched[index] == 0)
            {
              struct block *b = BLOCKVECTOR_BLOCK (bl, index);
-             int nsyms;
              register int i;
              register struct symbol *sym;
 
-             nsyms = BLOCK_NSYMS (b);
-
-             for (i = 0; i < nsyms; i++)
+             ALL_BLOCK_SYMBOLS (b, i, sym)
                {
-                 sym = BLOCK_SYM (b, i);
                  if (STREQ (SYMBOL_NAME (sym), "default"))
                    {
                      if (have_default)
This page took 0.035805 seconds and 4 git commands to generate.