GDB (xrefs)
|
#include "defs.h"
#include "arch-utils.h"
#include "reggroups.h"
#include "gdbtypes.h"
#include "regcache.h"
#include "command.h"
#include "gdbcmd.h"
#include "gdbsupport/gdb_obstack.h"
Go to the source code of this file.
Classes | |
struct | reggroups |
Functions | |
const reggroup * | reggroup_new (const char *name, enum reggroup_type type) |
const reggroup * | reggroup_gdbarch_new (struct gdbarch *gdbarch, const char *name, enum reggroup_type type) |
static reggroups * | get_reggroups (struct gdbarch *gdbarch) |
void | reggroup_add (struct gdbarch *gdbarch, const reggroup *group) |
const std::vector< const reggroup * > & | gdbarch_reggroups (struct gdbarch *gdbarch) |
int | default_register_reggroup_p (struct gdbarch *gdbarch, int regnum, const struct reggroup *group) |
const reggroup * | reggroup_find (struct gdbarch *gdbarch, const char *name) |
static void | reggroups_dump (struct gdbarch *gdbarch, struct ui_file *file) |
static void | maintenance_print_reggroups (const char *args, int from_tty) |
void | _initialize_reggroup () |
Variables | |
static const registry< gdbarch >::key< reggroups > | reggroups_data |
static const reggroup | general_group = { "general", USER_REGGROUP } |
static const reggroup | float_group = { "float", USER_REGGROUP } |
static const reggroup | system_group = { "system", USER_REGGROUP } |
static const reggroup | vector_group = { "vector", USER_REGGROUP } |
static const reggroup | all_group = { "all", USER_REGGROUP } |
static const reggroup | save_group = { "save", INTERNAL_REGGROUP } |
static const reggroup | restore_group = { "restore", INTERNAL_REGGROUP } |
const reggroup *const | general_reggroup = &general_group |
const reggroup *const | float_reggroup = &float_group |
const reggroup *const | system_reggroup = &system_group |
const reggroup *const | vector_reggroup = &vector_group |
const reggroup *const | all_reggroup = &all_group |
const reggroup *const | save_reggroup = &save_group |
const reggroup *const | restore_reggroup = &restore_group |
void _initialize_reggroup | ( | ) |
Definition at line 261 of file reggroups.c.
Referenced by initialize_all_files().
int default_register_reggroup_p | ( | struct gdbarch * | gdbarch, |
int | regnum, | ||
const struct reggroup * | group ) |
Definition at line 147 of file reggroups.c.
References all_reggroup, type::code(), float_reggroup, gdbarch_num_regs(), gdbarch_register_name(), general_reggroup, type::is_vector(), register_type(), regnum, restore_reggroup, save_reggroup, and vector_reggroup.
Referenced by arm_register_reggroup_p(), i386_register_reggroup_p(), lm32_register_reggroup_p(), loongarch_register_reggroup_p(), m68hc11_register_reggroup_p(), nds32_register_reggroup_p(), riscv_register_reggroup_p(), rs6000_pseudo_register_reggroup_p(), s390_pseudo_register_reggroup_p(), sh_register_reggroup_p(), and tdesc_register_reggroup_p().
Definition at line 136 of file reggroups.c.
References get_reggroups(), and reggroups::groups().
Referenced by register_dump_groups::dump_reg(), gdbpy_reggroup_iter_next(), reg_or_group_completer_1(), reggroup_find(), reggroups_dump(), registers_info(), tui_reg_command(), tui_reg_next(), and tui_reg_prev().
Definition at line 113 of file reggroups.c.
References registry< T >::get(), reggroups::groups(), and reggroups_data.
Referenced by gdbarch_reggroups(), and reggroup_add().
|
static |
Definition at line 226 of file reggroups.c.
References gdb_stdout, get_current_arch(), and reggroups_dump().
Definition at line 124 of file reggroups.c.
References get_reggroups(), and reggroups::groups().
Referenced by csky_add_reggroups(), i386_add_reggroups(), m68hc11_add_reggroups(), make_regs(), mep_gdbarch_init(), nds32_add_reggroups(), riscv_add_reggroups(), tdesc_use_registers(), and xtensa_add_reggroups().
Definition at line 177 of file reggroups.c.
References gdbarch_reggroups(), and name.
Referenced by gdbpy_new_register_descriptor_iterator(), and tdesc_use_registers().
const reggroup * reggroup_gdbarch_new | ( | struct gdbarch * | gdbarch, |
const char * | name, | ||
enum reggroup_type | type ) |
Definition at line 42 of file reggroups.c.
References gdbarch_obstack(), gdbarch_obstack_strdup(), and name.
Referenced by tdesc_use_registers().
const reggroup * reggroup_new | ( | const char * | name, |
enum reggroup_type | type ) |
Definition at line 34 of file reggroups.c.
References name.
Referenced by _initialize_m32c_tdep(), _initialize_mep_tdep(), csky_init_reggroup(), i386_init_reggroups(), m68hc11_init_reggroups(), nds32_init_reggroups(), riscv_init_reggroups(), and xtensa_init_reggroups().
Definition at line 190 of file reggroups.c.
References gdb_printf(), gdbarch_reggroups(), INTERNAL_REGGROUP, name, type, and USER_REGGROUP.
Referenced by maintenance_print_reggroups().
|
static |
Definition at line 247 of file reggroups.c.
Definition at line 255 of file reggroups.c.
Referenced by aarch64_pseudo_register_reggroup_p(), alpha_register_reggroup_p(), arm_register_reggroup_p(), csky_register_reggroup_p(), default_print_registers_info(), default_register_reggroup_p(), gdbpy_new_register_descriptor_iterator(), i386_register_reggroup_p(), ia64_register_reggroup_p(), info_frame_command_core(), loongarch_register_reggroup_p(), m32c_register_reggroup_p(), mep_register_reggroup_p(), mips_register_reggroup_p(), msp430_register_reggroup_p(), nds32_register_reggroup_p(), reggroups::reggroups(), riscv_print_registers_info(), riscv_register_reggroup_p(), rl78_register_reggroup_p(), sh_frame_cache(), and xtensa_register_reggroup_p().
|
static |
Definition at line 244 of file reggroups.c.
const reggroup* const float_reggroup = &float_group |
Definition at line 252 of file reggroups.c.
Referenced by aarch64_pseudo_register_reggroup_p(), alpha_register_reggroup_p(), arm_register_reggroup_p(), default_print_float_info(), default_register_reggroup_p(), i386_register_reggroup_p(), ia64_register_reggroup_p(), loongarch_register_reggroup_p(), mips_register_reggroup_p(), nds32_register_reggroup_p(), reggroups::reggroups(), riscv_register_reggroup_p(), sh_register_reggroup_p(), and xtensa_register_reggroup_p().
|
static |
Definition at line 243 of file reggroups.c.
const reggroup* const general_reggroup = &general_group |
Definition at line 251 of file reggroups.c.
Referenced by alpha_register_reggroup_p(), csky_register_reggroup_p(), default_print_registers_info(), default_register_reggroup_p(), i386_register_reggroup_p(), ia64_register_reggroup_p(), lm32_register_reggroup_p(), loongarch_register_reggroup_p(), m32c_register_reggroup_p(), mep_register_reggroup_p(), mips_register_reggroup_p(), msp430_register_reggroup_p(), nds32_register_reggroup_p(), reggroups::reggroups(), riscv_print_registers_info(), riscv_register_reggroup_p(), rl78_register_reggroup_p(), s390_pseudo_register_reggroup_p(), sh_register_reggroup_p(), tui_data_window::show_registers(), and xtensa_register_reggroup_p().
Definition at line 108 of file reggroups.c.
Referenced by get_reggroups().
|
static |
Definition at line 249 of file reggroups.c.
const reggroup* const restore_reggroup = &restore_group |
Definition at line 257 of file reggroups.c.
Referenced by alpha_register_reggroup_p(), amd64_linux_register_reggroup_p(), arm_register_reggroup_p(), csky_register_reggroup_p(), default_register_reggroup_p(), i386_linux_register_reggroup_p(), ia64_register_reggroup_p(), loongarch_register_reggroup_p(), m32c_register_reggroup_p(), m68hc11_register_reggroup_p(), mep_register_reggroup_p(), mips_register_reggroup_p(), msp430_register_reggroup_p(), nds32_register_reggroup_p(), reggroups::reggroups(), regcache::restore(), riscv_register_reggroup_p(), rl78_register_reggroup_p(), s390_pseudo_register_reggroup_p(), tdesc_register_in_reggroup_p(), and xtensa_register_reggroup_p().
|
static |
Definition at line 248 of file reggroups.c.
const reggroup* const save_reggroup = &save_group |
Definition at line 256 of file reggroups.c.
Referenced by alpha_register_reggroup_p(), amd64_linux_register_reggroup_p(), arm_register_reggroup_p(), csky_register_reggroup_p(), default_register_reggroup_p(), i386_linux_register_reggroup_p(), ia64_register_reggroup_p(), loongarch_register_reggroup_p(), m32c_register_reggroup_p(), m68hc11_register_reggroup_p(), mep_register_reggroup_p(), mips_register_reggroup_p(), msp430_register_reggroup_p(), nds32_register_reggroup_p(), reggroups::reggroups(), riscv_register_reggroup_p(), rl78_register_reggroup_p(), s390_pseudo_register_reggroup_p(), reg_buffer::save(), tdesc_register_in_reggroup_p(), and xtensa_register_reggroup_p().
|
static |
Definition at line 245 of file reggroups.c.
const reggroup* const system_reggroup = &system_group |
Definition at line 253 of file reggroups.c.
Referenced by alpha_register_reggroup_p(), amd64_linux_register_reggroup_p(), i386_linux_register_reggroup_p(), lm32_register_reggroup_p(), m32c_register_reggroup_p(), nds32_register_reggroup_p(), reggroups::reggroups(), riscv_register_reggroup_p(), rl78_register_reggroup_p(), sh_register_reggroup_p(), and xtensa_register_reggroup_p().
|
static |
Definition at line 246 of file reggroups.c.
const reggroup* const vector_reggroup = &vector_group |
Definition at line 254 of file reggroups.c.
Referenced by aarch64_pseudo_register_reggroup_p(), default_register_reggroup_p(), i386_register_reggroup_p(), ia64_register_reggroup_p(), mips_register_reggroup_p(), print_vector_info(), reggroups::reggroups(), riscv_register_reggroup_p(), s390_pseudo_register_reggroup_p(), sh_register_reggroup_p(), and xtensa_register_reggroup_p().