GDB (xrefs)
Functions | Variables
/tmp/gdb-7.10/gdb/target-dcache.c File Reference
#include "defs.h"
#include "target-dcache.h"
#include "gdbcmd.h"
#include "progspace.h"

Go to the source code of this file.

Functions

static void target_dcache_cleanup (struct address_space *aspace, void *arg)
 
int target_dcache_init_p (void)
 
void target_dcache_invalidate (void)
 
DCACHEtarget_dcache_get (void)
 
DCACHEtarget_dcache_get_or_init (void)
 
static void set_stack_cache (char *args, int from_tty, struct cmd_list_element *c)
 
static void show_stack_cache (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
int stack_cache_enabled_p (void)
 
static void set_code_cache (char *args, int from_tty, struct cmd_list_element *c)
 
static void show_code_cache (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
int code_cache_enabled_p (void)
 
void _initialize_target_dcache (void)
 

Variables

static const struct address_space_data * target_dcache_aspace_key
 
static int stack_cache_enabled_1 = 1
 
static int stack_cache_enabled = 1
 
static int code_cache_enabled_1 = 1
 
static int code_cache_enabled = 1
 
initialize_file_ftype _initialize_target_dcache
 

Function Documentation

void _initialize_target_dcache ( void  )
int code_cache_enabled_p ( void  )

Definition at line 162 of file target-dcache.c.

References code_cache_enabled.

Referenced by memory_xfer_partial_1(), and raw_memory_xfer_partial().

static void set_code_cache ( char *  args,
int  from_tty,
struct cmd_list_element c 
)
static
static void set_stack_cache ( char *  args,
int  from_tty,
struct cmd_list_element c 
)
static
static void show_code_cache ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 153 of file target-dcache.c.

References _, and fprintf_filtered().

Referenced by _initialize_target_dcache().

static void show_stack_cache ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 113 of file target-dcache.c.

References _, and fprintf_filtered().

Referenced by _initialize_target_dcache().

int stack_cache_enabled_p ( void  )

Definition at line 122 of file target-dcache.c.

References stack_cache_enabled.

Referenced by memory_xfer_partial_1(), and raw_memory_xfer_partial().

static void target_dcache_cleanup ( struct address_space aspace,
void *  arg 
)
static

Definition at line 32 of file target-dcache.c.

References dcache_free().

Referenced by _initialize_target_dcache().

DCACHE* target_dcache_get ( void  )
DCACHE* target_dcache_get_or_init ( void  )
int target_dcache_init_p ( void  )
void target_dcache_invalidate ( void  )

Variable Documentation

initialize_file_ftype _initialize_target_dcache
int code_cache_enabled = 1
static

Definition at line 134 of file target-dcache.c.

Referenced by code_cache_enabled_p(), and set_code_cache().

int code_cache_enabled_1 = 1
static

Definition at line 129 of file target-dcache.c.

Referenced by _initialize_target_dcache(), and set_code_cache().

int stack_cache_enabled = 1
static

Definition at line 96 of file target-dcache.c.

Referenced by set_stack_cache(), and stack_cache_enabled_p().

int stack_cache_enabled_1 = 1
static

Definition at line 92 of file target-dcache.c.

Referenced by _initialize_target_dcache(), and set_stack_cache().

const struct address_space_data* target_dcache_aspace_key
static