GDB (xrefs)
|
#include "defs.h"
#include "arch-utils.h"
#include "reggroups.h"
#include "gdbtypes.h"
#include "regcache.h"
#include "command.h"
#include "gdbcmd.h"
Go to the source code of this file.
Classes | |
struct | reggroup |
struct | reggroup_el |
struct | reggroups |
Functions | |
struct reggroup * | reggroup_new (const char *name, enum reggroup_type type) |
const char * | reggroup_name (struct reggroup *group) |
enum reggroup_type | reggroup_type (struct reggroup *group) |
static void * | reggroups_init (struct gdbarch *gdbarch) |
static void | add_group (struct reggroups *groups, struct reggroup *group, struct reggroup_el *el) |
void | reggroup_add (struct gdbarch *gdbarch, struct reggroup *group) |
struct reggroup * | reggroup_next (struct gdbarch *gdbarch, struct reggroup *last) |
struct reggroup * | reggroup_prev (struct gdbarch *gdbarch, struct reggroup *curr) |
int | default_register_reggroup_p (struct gdbarch *gdbarch, int regnum, struct reggroup *group) |
static void | reggroups_dump (struct gdbarch *gdbarch, struct ui_file *file) |
static void | maintenance_print_reggroups (char *args, int from_tty) |
void | _initialize_reggroup (void) |
Variables | |
static struct gdbarch_data * | reggroups_data |
static struct reggroups | default_groups = { NULL, &default_groups.first } |
static struct reggroup | general_group = { "general", USER_REGGROUP } |
static struct reggroup | float_group = { "float", USER_REGGROUP } |
static struct reggroup | system_group = { "system", USER_REGGROUP } |
static struct reggroup | vector_group = { "vector", USER_REGGROUP } |
static struct reggroup | all_group = { "all", USER_REGGROUP } |
static struct reggroup | save_group = { "save", INTERNAL_REGGROUP } |
static struct reggroup | restore_group = { "restore", INTERNAL_REGGROUP } |
struct reggroup *const | general_reggroup = &general_group |
struct reggroup *const | float_reggroup = &float_group |
struct reggroup *const | system_reggroup = &system_group |
struct reggroup *const | vector_reggroup = &vector_group |
struct reggroup *const | all_reggroup = &all_group |
struct reggroup *const | save_reggroup = &save_group |
struct reggroup *const | restore_reggroup = &restore_group |
initialize_file_ftype | _initialize_reggroup |
void _initialize_reggroup | ( | void | ) |
Definition at line 303 of file reggroups.c.
References _, add_cmd(), add_group(), class_maintenance, gdbarch_data_register_post_init(), maintenance_print_reggroups(), maintenanceprintlist, and reggroups_init().
|
static |
Definition at line 92 of file reggroups.c.
References gdb_assert, reggroup_el::group, reggroups::last, and reggroup_el::next.
Referenced by _initialize_reggroup(), and reggroup_add().
Definition at line 184 of file reggroups.c.
References all_reggroup, float_reggroup, gdbarch_num_regs(), gdbarch_register_name(), general_reggroup, register_type(), restore_reggroup, save_reggroup, TYPE_CODE, TYPE_CODE_FLT, TYPE_VECTOR, and vector_reggroup.
Referenced by arm_register_reggroup_p(), gdbarch_alloc(), i386_register_reggroup_p(), lm32_register_reggroup_p(), m68hc11_register_reggroup_p(), mt_register_reggroup_p(), s390_pseudo_register_reggroup_p(), sh_register_reggroup_p(), spu_register_reggroup_p(), and tdesc_register_reggroup_p().
|
static |
Definition at line 264 of file reggroups.c.
References _, do_cleanups(), gdb_fopen(), gdb_stdout, get_current_arch(), make_cleanup_ui_file_delete(), perror_with_name(), and reggroups_dump().
Referenced by _initialize_reggroup().
Definition at line 103 of file reggroups.c.
References add_group(), deprecated_set_gdbarch_data(), gdbarch_data(), GDBARCH_OBSTACK_ZALLOC, and reggroups_init().
Referenced by i386_add_reggroups(), lm32_add_reggroups(), m68hc11_add_reggroups(), make_regs(), mep_gdbarch_init(), and xtensa_add_reggroups().
Definition at line 51 of file reggroups.c.
References reggroup::name.
Referenced by regcache_dump(), reggroups_dump(), registers_info(), tui_reg_command(), and tui_show_register_group().
struct reggroup* reggroup_new | ( | const char * | name, |
enum reggroup_type | type | ||
) |
Definition at line 39 of file reggroups.c.
References reggroup::name, name, reggroup::type, and type.
Referenced by _initialize_m32c_tdep(), _initialize_mep_tdep(), i386_init_reggroups(), m68hc11_init_reggroups(), and xtensa_init_reggroups().
Definition at line 125 of file reggroups.c.
References default_groups, reggroups::first, gdb_assert, gdbarch_data(), reggroup_el::group, and reggroup_el::next.
Referenced by regcache_dump(), reggroups_dump(), registers_info(), tui_reg_command(), and tui_reg_next().
Definition at line 156 of file reggroups.c.
References default_groups, reggroups::first, gdb_assert, gdbarch_data(), reggroup_el::group, and reggroup_el::next.
Referenced by tui_reg_prev().
enum reggroup_type reggroup_type | ( | struct reggroup * | group | ) |
Definition at line 57 of file reggroups.c.
References reggroup::type.
Definition at line 213 of file reggroups.c.
References _, fprintf_unfiltered(), internal_error(), INTERNAL_REGGROUP, name, reggroup_name(), reggroup_next(), type, and USER_REGGROUP.
Referenced by maintenance_print_reggroups().
|
static |
Definition at line 79 of file reggroups.c.
References reggroups::first, GDBARCH_OBSTACK_ZALLOC, and reggroups::last.
Referenced by _initialize_reggroup(), and reggroup_add().
initialize_file_ftype _initialize_reggroup |
|
static |
Definition at line 288 of file reggroups.c.
Definition at line 296 of file reggroups.c.
Referenced by aarch64_pseudo_register_reggroup_p(), alpha_register_reggroup_p(), arm_register_reggroup_p(), default_print_registers_info(), default_register_reggroup_p(), frame_info(), i386_add_reggroups(), i386_register_reggroup_p(), ia64_register_reggroup_p(), lm32_add_reggroups(), m32c_register_reggroup_p(), m68hc11_add_reggroups(), make_regs(), mep_gdbarch_init(), mep_register_reggroup_p(), mips_register_reggroup_p(), msp430_register_reggroup_p(), mt_register_reggroup_p(), rl78_register_reggroup_p(), rs6000_pseudo_register_reggroup_p(), sh_frame_cache(), xtensa_add_reggroups(), and xtensa_register_reggroup_p().
|
static |
Definition at line 120 of file reggroups.c.
Referenced by reggroup_next(), and reggroup_prev().
|
static |
Definition at line 285 of file reggroups.c.
struct reggroup* const float_reggroup = &float_group |
Definition at line 293 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_add_reggroups(), i386_register_reggroup_p(), ia64_register_reggroup_p(), m68hc11_add_reggroups(), mips_register_reggroup_p(), mt_register_reggroup_p(), rs6000_pseudo_register_reggroup_p(), sh_register_reggroup_p(), spu_register_reggroup_p(), tdesc_register_in_reggroup_p(), xtensa_add_reggroups(), and xtensa_register_reggroup_p().
|
static |
Definition at line 284 of file reggroups.c.
struct reggroup* const general_reggroup = &general_group |
Definition at line 292 of file reggroups.c.
Referenced by alpha_register_reggroup_p(), default_print_registers_info(), default_register_reggroup_p(), i386_add_reggroups(), i386_register_reggroup_p(), ia64_register_reggroup_p(), lm32_add_reggroups(), lm32_register_reggroup_p(), m32c_register_reggroup_p(), m68hc11_add_reggroups(), make_regs(), mep_gdbarch_init(), mep_register_reggroup_p(), mips_register_reggroup_p(), msp430_register_reggroup_p(), mt_register_reggroup_p(), rl78_register_reggroup_p(), s390_pseudo_register_reggroup_p(), sh_register_reggroup_p(), spu_register_reggroup_p(), tdesc_register_in_reggroup_p(), tui_show_registers(), xtensa_add_reggroups(), and xtensa_register_reggroup_p().
|
static |
Definition at line 76 of file reggroups.c.
|
static |
Definition at line 290 of file reggroups.c.
struct reggroup* const restore_reggroup = &restore_group |
Definition at line 298 of file reggroups.c.
Referenced by alpha_register_reggroup_p(), amd64_linux_register_reggroup_p(), arm_register_reggroup_p(), default_register_reggroup_p(), i386_add_reggroups(), i386_linux_register_reggroup_p(), ia64_register_reggroup_p(), m32c_register_reggroup_p(), m68hc11_add_reggroups(), m68hc11_register_reggroup_p(), make_regs(), mep_gdbarch_init(), mep_register_reggroup_p(), mips_register_reggroup_p(), msp430_register_reggroup_p(), regcache_restore(), rl78_register_reggroup_p(), s390_pseudo_register_reggroup_p(), spu_register_reggroup_p(), tdesc_register_in_reggroup_p(), xtensa_add_reggroups(), and xtensa_register_reggroup_p().
|
static |
Definition at line 289 of file reggroups.c.
struct reggroup* const save_reggroup = &save_group |
Definition at line 297 of file reggroups.c.
Referenced by alpha_register_reggroup_p(), amd64_linux_register_reggroup_p(), arm_register_reggroup_p(), default_register_reggroup_p(), i386_add_reggroups(), i386_linux_register_reggroup_p(), ia64_register_reggroup_p(), m32c_register_reggroup_p(), m68hc11_add_reggroups(), m68hc11_register_reggroup_p(), make_regs(), mep_gdbarch_init(), mep_register_reggroup_p(), mips_register_reggroup_p(), msp430_register_reggroup_p(), regcache_save(), rl78_register_reggroup_p(), s390_pseudo_register_reggroup_p(), spu_register_reggroup_p(), tdesc_register_in_reggroup_p(), xtensa_add_reggroups(), and xtensa_register_reggroup_p().
|
static |
Definition at line 286 of file reggroups.c.
struct reggroup* const system_reggroup = &system_group |
Definition at line 294 of file reggroups.c.
Referenced by alpha_register_reggroup_p(), amd64_linux_register_reggroup_p(), i386_add_reggroups(), i386_linux_register_reggroup_p(), lm32_add_reggroups(), lm32_register_reggroup_p(), m32c_register_reggroup_p(), m68hc11_add_reggroups(), make_regs(), rl78_register_reggroup_p(), sh_register_reggroup_p(), xtensa_add_reggroups(), and xtensa_register_reggroup_p().
|
static |
Definition at line 287 of file reggroups.c.
struct reggroup* const vector_reggroup = &vector_group |
Definition at line 295 of file reggroups.c.
Referenced by aarch64_pseudo_register_reggroup_p(), default_register_reggroup_p(), i386_add_reggroups(), i386_register_reggroup_p(), ia64_register_reggroup_p(), m68hc11_add_reggroups(), mips_register_reggroup_p(), mt_register_reggroup_p(), print_vector_info(), rs6000_pseudo_register_reggroup_p(), s390_pseudo_register_reggroup_p(), sh_register_reggroup_p(), tdesc_register_in_reggroup_p(), xtensa_add_reggroups(), and xtensa_register_reggroup_p().