GDB (xrefs)
Classes | Macros | Typedefs | Functions | Variables
/tmp/gdb-8.1/gdb/solist.h File Reference
#include "symtab.h"
#include "gdb_bfd.h"

Go to the source code of this file.

Classes

struct  lm_info_base
 
struct  so_list
 
struct  target_so_ops
 
struct  so_deleter
 

Macros

#define SO_NAME_MAX_PATH_SIZE   512 /* FIXME: Should be dynamic */
 
#define ALL_SO_LIBS(so)
 

Typedefs

typedef std::unique_ptr< so_list, so_deleterso_list_up
 

Functions

void free_so (struct so_list *so)
 
struct so_listmaster_so_list (void)
 
char * exec_file_find (const char *in_pathname, int *fd)
 
char * solib_find (const char *in_pathname, int *fd)
 
gdb_bfd_ref_ptr solib_bfd_fopen (char *pathname, int fd)
 
gdb_bfd_ref_ptr solib_bfd_open (char *in_pathname)
 
struct block_symbol solib_global_lookup (struct objfile *objfile, const char *name, const domain_enum domain)
 

Variables

struct target_so_opscurrent_target_so_ops
 

Macro Definition Documentation

◆ ALL_SO_LIBS

#define ALL_SO_LIBS (   so)
Value:
for (so = so_list_head; \
so != NULL; \
so = so->next)
#define so_list_head
Definition: solib.h:32

Definition at line 27 of file solist.h.

Referenced by info_sharedlibrary_command(), and mi_cmd_file_list_shared_libraries().

◆ SO_NAME_MAX_PATH_SIZE

#define SO_NAME_MAX_PATH_SIZE   512 /* FIXME: Should be dynamic */

Typedef Documentation

◆ so_list_up

typedef std::unique_ptr<so_list, so_deleter> so_list_up

Definition at line 189 of file solist.h.

Function Documentation

◆ exec_file_find()

char* exec_file_find ( const char *  in_pathname,
int *  fd 
)

◆ free_so()

void free_so ( struct so_list so)

◆ master_so_list()

struct so_list* master_so_list ( void  )

◆ solib_bfd_fopen()

gdb_bfd_ref_ptr solib_bfd_fopen ( char *  pathname,
int  fd 
)

◆ solib_bfd_open()

gdb_bfd_ref_ptr solib_bfd_open ( char *  in_pathname)

◆ solib_find()

char* solib_find ( const char *  in_pathname,
int *  fd 
)

◆ solib_global_lookup()

struct block_symbol solib_global_lookup ( struct objfile objfile,
const char *  name,
const domain_enum  domain 
)

Definition at line 1466 of file solib.c.

References target_so_ops::lookup_lib_global_symbol, name, solib_ops(), and target_gdbarch().

Referenced by lookup_global_symbol().

Variable Documentation

◆ current_target_so_ops

struct target_so_ops* current_target_so_ops

Definition at line 90 of file solib.c.

Referenced by _initialize_solib_target(), and solib_init().