GDB (xrefs)
|
#include "defs.h"
#include "target-dcache.h"
#include "gdbcmd.h"
#include "progspace.h"
#include "cli/cli-cmds.h"
Go to the source code of this file.
Functions | |
int | target_dcache_init_p (void) |
void | target_dcache_invalidate (void) |
DCACHE * | target_dcache_get (void) |
DCACHE * | target_dcache_get_or_init (void) |
static void | set_stack_cache (const 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 (const 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) |
static void | maint_flush_dcache_command (const char *command, int from_tty) |
void | _initialize_target_dcache () |
Variables | |
static const registry< address_space >::key< DCACHE, dcache_deleter > | target_dcache_aspace_key |
static bool | stack_cache_enabled_1 = true |
static int | stack_cache_enabled = 1 |
static bool | code_cache_enabled_1 = true |
static int | code_cache_enabled = 1 |
void _initialize_target_dcache | ( | ) |
Definition at line 168 of file target-dcache.c.
Referenced by initialize_all_files().
int code_cache_enabled_p | ( | void | ) |
Definition at line 151 of file target-dcache.c.
References code_cache_enabled.
Referenced by memory_xfer_partial_1(), and raw_memory_xfer_partial().
|
static |
Definition at line 159 of file target-dcache.c.
References gdb_printf(), and target_dcache_invalidate().
|
static |
Definition at line 131 of file target-dcache.c.
References code_cache_enabled, code_cache_enabled_1, and target_dcache_invalidate().
|
static |
Definition at line 93 of file target-dcache.c.
References stack_cache_enabled, stack_cache_enabled_1, and target_dcache_invalidate().
|
static |
Definition at line 142 of file target-dcache.c.
References gdb_printf().
|
static |
Definition at line 102 of file target-dcache.c.
References gdb_printf().
int stack_cache_enabled_p | ( | void | ) |
Definition at line 111 of file target-dcache.c.
References stack_cache_enabled.
Referenced by memory_xfer_partial_1(), and raw_memory_xfer_partial().
DCACHE * target_dcache_get | ( | void | ) |
Definition at line 57 of file target-dcache.c.
References program_space::aspace, current_program_space, registry< T >::get(), and target_dcache_aspace_key.
Referenced by info_dcache_command(), and raw_memory_xfer_partial().
DCACHE * target_dcache_get_or_init | ( | void | ) |
Definition at line 66 of file target-dcache.c.
References program_space::aspace, current_program_space, dcache_init(), registry< T >::get(), registry< T >::set(), and target_dcache_aspace_key.
Referenced by memory_xfer_partial_1().
int target_dcache_init_p | ( | void | ) |
Definition at line 33 of file target-dcache.c.
References program_space::aspace, current_program_space, registry< T >::get(), and target_dcache_aspace_key.
Referenced by raw_memory_xfer_partial().
void target_dcache_invalidate | ( | void | ) |
Definition at line 44 of file target-dcache.c.
References program_space::aspace, current_program_space, dcache_invalidate(), registry< T >::get(), and target_dcache_aspace_key.
Referenced by delete_mem_command(), disable_mem_command(), enable_mem_command(), fetch_inferior_event(), maint_flush_dcache_command(), poll_one_curr_target(), prepare_execute_command(), set_code_cache(), set_dcache_line_size(), set_dcache_size(), set_stack_cache(), target_load(), target_resume(), tfind_1(), and wait_for_inferior().
|
static |
Definition at line 123 of file target-dcache.c.
Referenced by code_cache_enabled_p(), and set_code_cache().
|
static |
Definition at line 118 of file target-dcache.c.
Referenced by set_code_cache().
|
static |
Definition at line 85 of file target-dcache.c.
Referenced by set_stack_cache(), and stack_cache_enabled_p().
|
static |
Definition at line 81 of file target-dcache.c.
Referenced by set_stack_cache().
|
static |
Definition at line 28 of file target-dcache.c.
Referenced by target_dcache_get(), target_dcache_get_or_init(), target_dcache_init_p(), and target_dcache_invalidate().