contrib/gdb-7/gdb/linespec.c
static int
collect_function_symbols (struct symbol *sym, void *arg)
{
  VEC (symbolp) **syms = arg;

  if (SYMBOL_CLASS (sym) == LOC_BLOCK)
    VEC_safe_push (symbolp, *syms, sym);

  return 1;
}
/* A callback used by iterate_over_all_matching_symtabs that collects
   symbols for find_function_symbols.  */
A callback used by iterate_over_all_matching_symtabs that collects
symbols for find_function_symbols.
A callback used by iterate_over_all_matching_symtabs that collects symbols for find_function_symbols .
static int
collect_function_symbols (struct symbol *sym, void *arg)
{
  VEC (symbolp) **syms = arg;
  if (SYMBOL_CLASS (sym) == LOC_BLOCK)
    VEC_safe_push (symbolp, *syms, sym);
  return 1;
}
static int collect_function_symbols ( struct symbol * sym , void * arg ) { VEC ( symbolp ) * * syms = arg ; if ( SYMBOL_CLASS ( sym ) == LOC_BLOCK ) VEC_safe_push ( symbolp , * syms , sym ) ; return 1 ; }
A callback used by iterate_over_all_matching_symtabs that collects
symbols for find_function_symbols.
A callback used by iterate_over_all_matching_symtabs that collects symbols for find_function_symbols .