GDB (xrefs)
Loading...
Searching...
No Matches
Macros | Functions | Variables
/tmp/gdb-13.1/gdb/solib.h File Reference
#include "gdb_bfd.h"
#include "symfile-add-flags.h"

Go to the source code of this file.

Macros

#define solib_debug_printf(fmt, ...)    debug_prefixed_printf_cond (debug_solib, "solib", fmt, ##__VA_ARGS__)
 
#define SOLIB_SCOPED_DEBUG_START_END(fmt, ...)    scoped_debug_start_end (debug_solib, "solib", fmt, ##__VA_ARGS__)
 

Functions

void clear_solib (void)
 
void solib_add (const char *, int, int)
 
bool solib_read_symbols (struct so_list *, symfile_add_flags)
 
void solib_create_inferior_hook (int from_tty)
 
const char * solib_name_from_address (struct program_space *, CORE_ADDR)
 
bool solib_contains_address_p (const struct so_list *, CORE_ADDR)
 
bool solib_keep_data_in_core (CORE_ADDR vaddr, unsigned long size)
 
bool in_solib_dynsym_resolve_code (CORE_ADDR)
 
void no_shared_libraries (const char *ignored, int from_tty)
 
void update_solib_list (int from_tty)
 
bool libpthread_name_p (const char *name)
 
CORE_ADDR gdb_bfd_lookup_symbol (bfd *abfd, int(*match_sym)(const asymbol *, const void *), const void *data)
 
CORE_ADDR gdb_bfd_lookup_symbol_from_symtab (bfd *abfd, int(*match_sym)(const asymbol *, const void *), const void *data)
 
int gdb_bfd_scan_elf_dyntag (const int desired_dyntag, bfd *abfd, CORE_ADDR *ptr, CORE_ADDR *ptr_addr)
 
gdb::unique_xmalloc_ptr< char > gdb_bfd_read_elf_soname (const char *filename)
 
void update_solib_breakpoints (void)
 
void handle_solib_event (void)
 
void set_cbfd_soname_build_id (gdb_bfd_ref_ptr abfd, const char *soname, const bfd_build_id *build_id)
 
gdb::unique_xmalloc_ptr< char > get_cbfd_soname_build_id (gdb_bfd_ref_ptr abfd, const char *soname)
 

Variables

bool debug_solib
 

Macro Definition Documentation

◆ solib_debug_printf

#define solib_debug_printf (   fmt,
  ... 
)     debug_prefixed_printf_cond (debug_solib, "solib", fmt, ##__VA_ARGS__)

Definition at line 38 of file solib.h.

◆ SOLIB_SCOPED_DEBUG_START_END

#define SOLIB_SCOPED_DEBUG_START_END (   fmt,
  ... 
)     scoped_debug_start_end (debug_solib, "solib", fmt, ##__VA_ARGS__)

Definition at line 41 of file solib.h.

Function Documentation

◆ clear_solib()

void clear_solib ( void  )

Definition at line 1220 of file solib.c.

◆ gdb_bfd_lookup_symbol()

CORE_ADDR gdb_bfd_lookup_symbol ( bfd *  abfd,
int(*)(const asymbol *, const void *)  match_sym,
const void *  data 
)

◆ gdb_bfd_lookup_symbol_from_symtab()

CORE_ADDR gdb_bfd_lookup_symbol_from_symtab ( bfd *  abfd,
int(*)(const asymbol *, const void *)  match_sym,
const void *  data 
)

◆ gdb_bfd_read_elf_soname()

gdb::unique_xmalloc_ptr< char > gdb_bfd_read_elf_soname ( const char *  filename)

◆ gdb_bfd_scan_elf_dyntag()

int gdb_bfd_scan_elf_dyntag ( const int  desired_dyntag,
bfd *  abfd,
CORE_ADDR *  ptr,
CORE_ADDR *  ptr_addr 
)

◆ get_cbfd_soname_build_id()

gdb::unique_xmalloc_ptr< char > get_cbfd_soname_build_id ( gdb_bfd_ref_ptr  abfd,
const char *  soname 
)

Definition at line 518 of file solib.c.

References cbfd_soname_build_id_data_key, and registry< T >::get().

Referenced by solib_map_sections().

◆ handle_solib_event()

void handle_solib_event ( void  )

◆ in_solib_dynsym_resolve_code()

bool in_solib_dynsym_resolve_code ( CORE_ADDR  pc)

◆ libpthread_name_p()

bool libpthread_name_p ( const char *  name)

Definition at line 959 of file solib.c.

References name.

Referenced by libpthread_objfile_p(), and libpthread_solib_p().

◆ no_shared_libraries()

void no_shared_libraries ( const char *  ignored,
int  from_tty 
)

◆ set_cbfd_soname_build_id()

void set_cbfd_soname_build_id ( gdb_bfd_ref_ptr  abfd,
const char *  soname,
const bfd_build_id *  build_id 
)

◆ solib_add()

void solib_add ( const char *  pattern,
int  from_tty,
int  readsyms 
)

◆ solib_contains_address_p()

bool solib_contains_address_p ( const struct so_list solib,
CORE_ADDR  address 
)

◆ solib_create_inferior_hook()

void solib_create_inferior_hook ( int  from_tty)

◆ solib_keep_data_in_core()

bool solib_keep_data_in_core ( CORE_ADDR  vaddr,
unsigned long  size 
)

Definition at line 1207 of file solib.c.

References gdbarch_so_ops(), target_so_ops::keep_data_in_core, size, and target_gdbarch().

Referenced by gcore_create_callback().

◆ solib_name_from_address()

const char * solib_name_from_address ( struct program_space pspace,
CORE_ADDR  address 
)

◆ solib_read_symbols()

bool solib_read_symbols ( struct so_list so,
symfile_add_flags  flags 
)

◆ update_solib_breakpoints()

void update_solib_breakpoints ( void  )

Definition at line 1291 of file solib.c.

References gdbarch_so_ops(), target_gdbarch(), and target_so_ops::update_breakpoints.

Referenced by set_stop_on_solib_events().

◆ update_solib_list()

void update_solib_list ( int  from_tty)

Variable Documentation

◆ debug_solib

bool debug_solib
extern

Definition at line 60 of file solib.c.