GDB (API)

Classes | Macros | Functions
/tmp/gdb-8.1/gdb/minsyms.h File Reference

Go to the source code of this file.

## Classes
struct | bound_minimal_symbol
class | minimal_symbol_reader

## Macros
#define | SYMBOL_HASH_NEXT(hash, c) ((hash) * 67 + TOLOWER ((unsigned char) (c)) - 113)

## Functions
void | terminate_minimal_symbol_table (struct objfile *objfile)
bool | msymbol_is_function (struct objfile *objfile, minimal_symbol *minsym, CORE_ADDR *func_address_p=NULL)
unsigned int | msymbol_hash (const char *)
unsigned int | msymbol_hash_iw (const char *)
struct bound_minimal_symbol | lookup_minimal_symbol (const char *, const char *, struct objfile *)
struct bound_minimal_symbol | lookup_bound_minimal_symbol (const char *)
struct bound_minimal_symbol | lookup_minimal_symbol_and_objfile (const char *)
struct bound_minimal_symbol | lookup_minimal_symbol_text (const char *, struct objfile *)
struct bound_minimal_symbol | lookup_minimal_symbol_solib_trampoline (const char *, struct objfile *)
struct minimal_symbol * | lookup_minimal_symbol_by_pc_name (CORE_ADDR, const char *, struct objfile *)
struct bound_minimal_symbol | lookup_minimal_symbol_by_pc_section (CORE_ADDR, struct obj_section *)
struct bound_minimal_symbol | lookup_minimal_symbol_by_pc (CORE_ADDR)
void | iterate_over_minimal_symbols (struct objfile *objf, const lookup_name_info &name, void(*callback)(struct minimal_symbol *, void *), void *user_data)
CORE_ADDR | minimal_symbol_upper_bound (struct bound_minimal_symbol minsym)
type * | find_minsym_type_and_address (minimal_symbol *msymbol, objfile *objf, CORE_ADDR *address_p)

## Macro Definition Documentation

## ◆ SYMBOL_HASH_NEXT

#define SYMBOL_HASH_NEXT | ( |  | hash,
|  |  | c
| ) |  | ((hash) * 67 + TOLOWER ((unsigned char) (c)) - 113)

Definition at line 184 of file minsyms.h.

## Function Documentation

## ◆ find_minsym_type_and_address()

type* find_minsym_type_and_address | ( | minimal_symbol * | msymbol,
|  | objfile * | objf,
|  | CORE_ADDR * | address_p
| ) |  |

## ◆ iterate_over_minimal_symbols()

void iterate_over_minimal_symbols | ( | struct objfile * | objf,
|  | const lookup_name_info & | name,
|  | void(*)(struct minimal_symbol *, void *) | callback,
|  | void * | user_data
| ) |  |

## ◆ lookup_bound_minimal_symbol()

struct bound_minimal_symbol lookup_bound_minimal_symbol | ( | const char * |  | ) |

## ◆ lookup_minimal_symbol()

struct bound_minimal_symbol lookup_minimal_symbol | ( | const char * | ,
|  | const char * | ,
|  | struct objfile * |
| ) |  |

## ◆ lookup_minimal_symbol_and_objfile()

struct bound_minimal_symbol lookup_minimal_symbol_and_objfile | ( | const char * |  | ) |

## ◆ lookup_minimal_symbol_by_pc()

struct bound_minimal_symbol lookup_minimal_symbol_by_pc | ( | CORE_ADDR |  | ) |

## ◆ lookup_minimal_symbol_by_pc_name()

struct minimal_symbol* lookup_minimal_symbol_by_pc_name | ( | CORE_ADDR | ,
|  | const char * | ,
|  | struct objfile * |
| ) |  |

## ◆ lookup_minimal_symbol_by_pc_section()

struct bound_minimal_symbol lookup_minimal_symbol_by_pc_section | ( | CORE_ADDR | ,
|  | struct obj_section * |
| ) |  |

## ◆ lookup_minimal_symbol_solib_trampoline()

struct bound_minimal_symbol lookup_minimal_symbol_solib_trampoline | ( | const char * | ,
|  | struct objfile * |
| ) |  |

## ◆ lookup_minimal_symbol_text()

struct bound_minimal_symbol lookup_minimal_symbol_text | ( | const char * | ,
|  | struct objfile * |
| ) |  |

## ◆ minimal_symbol_upper_bound()

CORE_ADDR minimal_symbol_upper_bound | ( | struct bound_minimal_symbol | minsym | ) |

## ◆ msymbol_hash()

unsigned int msymbol_hash | ( | const char * |  | ) |

## ◆ msymbol_hash_iw()

unsigned int msymbol_hash_iw | ( | const char * |  | ) |

## ◆ msymbol_is_function()

bool msymbol_is_function | ( | struct objfile * | objfile,
|  | minimal_symbol * | minsym,
|  | CORE_ADDR * | func_address_p = `NULL`
| ) |  |

## ◆ terminate_minimal_symbol_table()

void terminate_minimal_symbol_table | ( | struct objfile * | objfile | ) |