GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/solib.c File Reference
#include "defs.h"
#include <sys/types.h>
#include <fcntl.h>
#include "gdb_string.h"
#include "symtab.h"
#include "bfd.h"
#include "symfile.h"
#include "objfiles.h"
#include "exceptions.h"
#include "gdbcore.h"
#include "command.h"
#include "target.h"
#include "frame.h"
#include "gdb_regex.h"
#include "inferior.h"
#include "environ.h"
#include "language.h"
#include "gdbcmd.h"
#include "completer.h"
#include "filenames.h"
#include "exec.h"
#include "solist.h"
#include "observer.h"
#include "readline/readline.h"
#include "remote.h"
#include "solib.h"
#include "interps.h"
#include "filesystem.h"
#include "gdb_bfd.h"
#include "filestuff.h"

Go to the source code of this file.

Defines

#define so_list_head   current_program_space->so_list
#define DOS_BASED_FILE_SYSTEM   0

Functions

void set_solib_ops (struct gdbarch *gdbarch, const struct target_so_ops *new_ops)
char * solib_find (char *in_pathname, int *fd)
bfd * solib_bfd_fopen (char *pathname, int fd)
bfd * solib_bfd_open (char *pathname)
void free_so (struct so_list *so)
struct so_listmaster_so_list (void)
int solib_read_symbols (struct so_list *so, int flags)
int libpthread_name_p (const char *name)
void solib_add (char *pattern, int from_tty, struct target_ops *target, int readsyms)
int solib_contains_address_p (const struct so_list *const solib, CORE_ADDR address)
char * solib_name_from_address (struct program_space *pspace, CORE_ADDR address)
int solib_keep_data_in_core (CORE_ADDR vaddr, unsigned long size)
void clear_solib (void)
void solib_create_inferior_hook (int from_tty)
int in_solib_dynsym_resolve_code (CORE_ADDR pc)
void no_shared_libraries (char *ignored, int from_tty)
void update_solib_breakpoints (void)
void handle_solib_event (void)
struct symbolsolib_global_lookup (const struct objfile *objfile, const char *name, const domain_enum domain)
CORE_ADDR gdb_bfd_lookup_symbol_from_symtab (bfd *abfd, int(*match_sym)(asymbol *, void *), void *data)
CORE_ADDR gdb_bfd_lookup_symbol (bfd *abfd, int(*match_sym)(asymbol *, void *), void *data)
void _initialize_solib (void)

Variables

struct target_so_opscurrent_target_so_ops
initialize_file_ftype _initialize_solib

Define Documentation

#define DOS_BASED_FILE_SYSTEM   0

Definition at line 114 of file solib.c.

Definition at line 93 of file solib.c.


Function Documentation

void _initialize_solib ( void  )

Definition at line 1502 of file solib.c.

void clear_solib ( void  )

Definition at line 1139 of file solib.c.

void free_so ( struct so_list so)

Definition at line 572 of file solib.c.

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

Definition at line 1485 of file solib.c.

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

Definition at line 1408 of file solib.c.

void handle_solib_event ( void  )

Definition at line 1244 of file solib.c.

Definition at line 1197 of file solib.c.

int libpthread_name_p ( const char *  name)

Definition at line 870 of file solib.c.

struct so_list* master_so_list ( void  ) [read]

Definition at line 585 of file solib.c.

void no_shared_libraries ( char *  ignored,
int  from_tty 
)

Definition at line 1219 of file solib.c.

void set_solib_ops ( struct gdbarch *  gdbarch,
const struct target_so_ops new_ops 
)

Definition at line 78 of file solib.c.

void solib_add ( char *  pattern,
int  from_tty,
struct target_ops target,
int  readsyms 
)

Definition at line 893 of file solib.c.

bfd* solib_bfd_fopen ( char *  pathname,
int  fd 
)

Definition at line 385 of file solib.c.

bfd* solib_bfd_open ( char *  pathname)

Definition at line 417 of file solib.c.

int solib_contains_address_p ( const struct so_list *const  solib,
CORE_ADDR  address 
)

Definition at line 1084 of file solib.c.

void solib_create_inferior_hook ( int  from_tty)

Definition at line 1186 of file solib.c.

char* solib_find ( char *  in_pathname,
int fd 
)

Definition at line 145 of file solib.c.

struct symbol* solib_global_lookup ( const struct objfile objfile,
const char *  name,
const domain_enum  domain 
) [read]

Definition at line 1391 of file solib.c.

int solib_keep_data_in_core ( CORE_ADDR  vaddr,
unsigned long  size 
)

Definition at line 1126 of file solib.c.

char* solib_name_from_address ( struct program_space pspace,
CORE_ADDR  address 
)

Definition at line 1108 of file solib.c.

int solib_read_symbols ( struct so_list so,
int  flags 
)

Definition at line 595 of file solib.c.

void update_solib_breakpoints ( void  )

Definition at line 1233 of file solib.c.


Variable Documentation

Definition at line 90 of file solib.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines