GDB (API)
Classes | Defines | Functions
/home/stan/gdb/src/gdb/dictionary.h File Reference
#include "symfile.h"

Go to the source code of this file.

Classes

struct  dict_iterator

Defines

#define ALL_DICT_SYMBOLS(dict, iter, sym)

Functions

struct dictionary * dict_create_hashed (struct obstack *obstack, const struct pending *symbol_list)
struct dictionary * dict_create_hashed_expandable (void)
struct dictionary * dict_create_linear (struct obstack *obstack, const struct pending *symbol_list)
struct dictionary * dict_create_linear_expandable (void)
void dict_free (struct dictionary *dict)
void dict_add_symbol (struct dictionary *dict, struct symbol *sym)
void dict_add_pending (struct dictionary *dict, const struct pending *symbol_list)
int dict_empty (struct dictionary *dict)
struct symboldict_iterator_first (const struct dictionary *dict, struct dict_iterator *iterator)
struct symboldict_iterator_next (struct dict_iterator *iterator)
struct symboldict_iter_name_first (const struct dictionary *dict, const char *name, struct dict_iterator *iterator)
struct symboldict_iter_name_next (const char *name, struct dict_iterator *iterator)
struct symboldict_iter_match_first (const struct dictionary *dict, const char *name, symbol_compare_ftype *compare, struct dict_iterator *iterator)
struct symboldict_iter_match_next (const char *name, symbol_compare_ftype *compare, struct dict_iterator *iterator)
int dict_size (const struct dictionary *dict)

Define Documentation

#define ALL_DICT_SYMBOLS (   dict,
  iter,
  sym 
)
Value:
for ((sym) = dict_iterator_first ((dict), &(iter));     \
             (sym);                                             \
             (sym) = dict_iterator_next (&(iter)))

Definition at line 179 of file dictionary.h.


Function Documentation

void dict_add_pending ( struct dictionary *  dict,
const struct pending symbol_list 
)

Definition at line 505 of file dictionary.c.

void dict_add_symbol ( struct dictionary *  dict,
struct symbol sym 
)

Definition at line 496 of file dictionary.c.

struct dictionary* dict_create_hashed ( struct obstack *  obstack,
const struct pending symbol_list 
) [read]

Definition at line 357 of file dictionary.c.

struct dictionary* dict_create_hashed_expandable ( void  ) [read]

Definition at line 401 of file dictionary.c.

struct dictionary* dict_create_linear ( struct obstack *  obstack,
const struct pending symbol_list 
) [read]

Definition at line 421 of file dictionary.c.

struct dictionary* dict_create_linear_expandable ( void  ) [read]

Definition at line 466 of file dictionary.c.

int dict_empty ( struct dictionary *  dict)

Definition at line 581 of file dictionary.c.

void dict_free ( struct dictionary *  dict)

Definition at line 488 of file dictionary.c.

struct symbol* dict_iter_match_first ( const struct dictionary *  dict,
const char *  name,
symbol_compare_ftype compare,
struct dict_iterator iterator 
) [read]

Definition at line 552 of file dictionary.c.

struct symbol* dict_iter_match_next ( const char *  name,
symbol_compare_ftype compare,
struct dict_iterator iterator 
) [read]

Definition at line 561 of file dictionary.c.

struct symbol* dict_iter_name_first ( const struct dictionary *  dict,
const char *  name,
struct dict_iterator iterator 
) [read]

Definition at line 538 of file dictionary.c.

struct symbol* dict_iter_name_next ( const char *  name,
struct dict_iterator iterator 
) [read]

Definition at line 546 of file dictionary.c.

struct symbol* dict_iterator_first ( const struct dictionary *  dict,
struct dict_iterator iterator 
) [read]

Definition at line 521 of file dictionary.c.

struct symbol* dict_iterator_next ( struct dict_iterator iterator) [read]

Definition at line 531 of file dictionary.c.

int dict_size ( const struct dictionary *  dict)

Definition at line 569 of file dictionary.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines