GDBserver
Macros | Functions | Variables
dll.c File Reference
#include "server.h"
#include "dll.h"

Go to the source code of this file.

Macros

#define get_dll(inf)   ((struct dll_info *)(inf))
 
#define UNSPECIFIED_CORE_ADDR   (~(CORE_ADDR) 0)
 

Functions

static void free_one_dll (struct inferior_list_entry *inf)
 
static int match_dll (struct inferior_list_entry *inf, void *arg)
 
void loaded_dll (const char *name, CORE_ADDR base_addr)
 
void unloaded_dll (const char *name, CORE_ADDR base_addr)
 
void clear_dlls (void)
 

Variables

struct inferior_list all_dlls
 
int dlls_changed
 

Macro Definition Documentation

#define get_dll (   inf)    ((struct dll_info *)(inf))

Definition at line 21 of file dll.c.

Referenced by free_one_dll().

#define UNSPECIFIED_CORE_ADDR   (~(CORE_ADDR) 0)

Definition at line 24 of file dll.c.

Referenced by match_dll().

Function Documentation

void clear_dlls ( void  )

Definition at line 110 of file dll.c.

References all_dlls, clear_inferior_list(), for_each_inferior(), and free_one_dll().

Referenced by clear_inferiors().

static void free_one_dll ( struct inferior_list_entry inf)
static

Definition at line 30 of file dll.c.

References get_dll, and dll_info::name.

Referenced by clear_dlls(), and unloaded_dll().

void loaded_dll ( const char *  name,
CORE_ADDR  base_addr 
)
static int match_dll ( struct inferior_list_entry inf,
void *  arg 
)
static

Definition at line 42 of file dll.c.

References dll_info::base_addr, dll_info::name, and UNSPECIFIED_CORE_ADDR.

Referenced by unloaded_dll().

void unloaded_dll ( const char *  name,
CORE_ADDR  base_addr 
)

Variable Documentation

struct inferior_list all_dlls

Definition at line 26 of file dll.c.

Referenced by clear_dlls(), handle_qxfer_libraries(), loaded_dll(), and unloaded_dll().

int dlls_changed

Definition at line 27 of file dll.c.

Referenced by captured_main(), handle_v_attach(), loaded_dll(), prepare_resume_reply(), and unloaded_dll().