// This function is an empty stub where GDB locates a breakpoint to get notified // about linker activity. extern"C" void __attribute__((noinline)) __attribute__((visibility("default"))) rtld_db_dlactivity();
void insert_link_map_into_debug_map(link_map* map) { // Stick the new library at the end of the list. // gdb tends to care more about libc than it does // about leaf libraries, and ordering it this way // reduces the back-and-forth over the wire. if (r_debug_tail != nullptr) {
r_debug_tail->l_next = map;
map->l_prev = r_debug_tail;
map->l_next = nullptr;
} else {
_r_debug.r_map = map;
map->l_prev = nullptr;
map->l_next = nullptr;
}
r_debug_tail = map;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.