contrib/gdb-7/gdb/linespec.c
static int
classify_mtype (enum minimal_symbol_type t)
{
  switch (t)
    {
    case mst_file_text:
    case mst_file_data:
    case mst_file_bss:
      /* Intermediate priority.  */
      return 1;

    case mst_solib_trampoline:
      /* Lowest priority.  */
      return 2;

    default:
      /* Highest priority.  */
      return 0;
    }
}
/* A helper function to classify a minimal_symbol_type according to
   priority.  */
A helper function to classify a minimal_symbol_type according to
priority.
A helper function to classify a minimal_symbol_type according to priority .
static int
classify_mtype (enum minimal_symbol_type t)
{
  switch (t)
    {
    case mst_file_text:
    case mst_file_data:
    case mst_file_bss:
      return 1;
    case mst_solib_trampoline:
      return 2;
    default:
      return 0;
    }
}
static int classify_mtype ( enum minimal_symbol_type t ) { switch ( t ) { case mst_file_text : case mst_file_data : case mst_file_bss : return 1 ; case mst_solib_trampoline : return 2 ; default : return 0 ; } }
A helper function to classify a minimal_symbol_type according to
priority.
A helper function to classify a minimal_symbol_type according to priority .
/* Intermediate priority.  */ /* Lowest priority.  */ /* Highest priority.  */