GDB (xrefs)

Classes | Macros | Functions | Variables
/tmp/gdb-8.1/gdb/arch-utils.h File Reference

Go to the source code of this file.

## Classes
struct | bp_manipulation< bp_size, break_insn >
struct | bp_manipulation_endian< bp_size, break_insn_little, break_insn_big >

## Macros
#define | BP_MANIPULATION(BREAK_INSN) bp_manipulation<sizeof (BREAK_INSN), BREAK_INSN>
#define | BP_MANIPULATION_ENDIAN(BREAK_INSN_LITTLE, BREAK_INSN_BIG)
#define | GDB_MMAP_PROT_READ 0x1 /* Page can be read. */
#define | GDB_MMAP_PROT_WRITE 0x2 /* Page can be written. */
#define | GDB_MMAP_PROT_EXEC 0x4 /* Page can be executed. */

## Functions
int | default_displaced_step_hw_singlestep (struct gdbarch *, struct displaced_step_closure *)
CORE_ADDR | displaced_step_at_entry_point (struct gdbarch *gdbarch)
int | core_addr_lessthan (CORE_ADDR lhs, CORE_ADDR rhs)
int | core_addr_greaterthan (CORE_ADDR lhs, CORE_ADDR rhs)
CORE_ADDR | core_addr_identity (struct gdbarch *gdbarch, CORE_ADDR addr)
int | no_op_reg_to_regnum (struct gdbarch *gdbarch, int reg)
void | default_coff_make_msymbol_special (int val, struct minimal_symbol *msym)
void | default_make_symbol_special (struct symbol *sym, struct objfile *objfile)
CORE_ADDR | default_adjust_dwarf2_addr (CORE_ADDR pc)
CORE_ADDR | default_adjust_dwarf2_line (CORE_ADDR addr, int rel)
bool | default_execute_dwarf_cfa_vendor_op (struct gdbarch *gdbarch, gdb_byte op, struct dwarf2_frame_state *fs)
int | cannot_register_not (struct gdbarch *gdbarch, int regnum)
const struct floatformat ** | default_floatformat_for_type (struct gdbarch *gdbarch, const char *name, int len)
CORE_ADDR | generic_skip_trampoline_code (struct frame_info *frame, CORE_ADDR pc)
CORE_ADDR | generic_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc)
int | generic_in_solib_return_trampoline (struct gdbarch *gdbarch, CORE_ADDR pc, const char *name)
int | generic_stack_frame_destroyed_p (struct gdbarch *gdbarch, CORE_ADDR pc)
int | default_code_of_frame_writable (struct gdbarch *gdbarch, struct frame_info *frame)
int | generic_convert_register_p (struct gdbarch *gdbarch, int regnum, struct type *type)
int | default_stabs_argument_has_addr (struct gdbarch *gdbarch, struct type *type)
int | generic_instruction_nullified (struct gdbarch *gdbarch, struct regcache *regcache)
int | default_remote_register_number (struct gdbarch *gdbarch, int regno)
int | legacy_register_sim_regno (struct gdbarch *gdbarch, int regnum)
enum bfd_endian | selected_byte_order (void)
const char * | selected_architecture_name (void)
void | gdbarch_info_init (struct gdbarch_info *info)
void | gdbarch_info_fill (struct gdbarch_info *info)
struct gdbarch * | gdbarch_from_bfd (bfd *abfd)
struct gdbarch * | get_current_arch (void)
int | default_has_shared_address_space (struct gdbarch *)
int | default_fast_tracepoint_valid_at (struct gdbarch *gdbarch, CORE_ADDR addr, char **msg)
const gdb_byte * | default_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, int *lenptr)
int | default_breakpoint_kind_from_current_state (struct gdbarch *gdbarch, struct regcache *regcache, CORE_ADDR *pcptr)
void | default_gen_return_address (struct gdbarch *gdbarch, struct agent_expr *ax, struct axs_value *value, CORE_ADDR scope)
const char * | default_auto_charset (void)
const char * | default_auto_wide_charset (void)
int | default_return_in_first_hidden_param_p (struct gdbarch *, struct type *)
int | default_insn_is_call (struct gdbarch *, CORE_ADDR)
int | default_insn_is_ret (struct gdbarch *, CORE_ADDR)
int | default_insn_is_jump (struct gdbarch *, CORE_ADDR)
int | default_vsyscall_range (struct gdbarch *gdbarch, struct mem_range *range)
void | default_skip_permanent_breakpoint (struct regcache *regcache)
CORE_ADDR | default_infcall_mmap (CORE_ADDR size, unsigned prot)
void | default_infcall_munmap (CORE_ADDR addr, CORE_ADDR size)
char * | default_gcc_target_options (struct gdbarch *gdbarch)
const char * | default_gnu_triplet_regexp (struct gdbarch *gdbarch)
int | default_addressable_memory_unit_size (struct gdbarch *gdbarch)
void | default_guess_tracepoint_registers (struct gdbarch *gdbarch, struct regcache *regcache, CORE_ADDR addr)
int | default_print_insn (bfd_vma memaddr, disassemble_info *info)
CORE_ADDR | gdbarch_skip_prologue_noexcept (gdbarch *gdbarch, CORE_ADDR pc) noexcept

## Variables
gdbarch_convert_from_func_ptr_addr_ftype | convert_from_func_ptr_addr_identity
gdbarch_virtual_frame_pointer_ftype | legacy_virtual_frame_pointer

## Macro Definition Documentation

## ◆ BP_MANIPULATION

#define BP_MANIPULATION | ( |  | BREAK_INSN | ) | bp_manipulation<sizeof (BREAK_INSN), BREAK_INSN>

Definition at line 69 of file arch-utils.h.

## ◆ BP_MANIPULATION_ENDIAN

#define BP_MANIPULATION_ENDIAN | ( |  | BREAK_INSN_LITTLE,
|  |  | BREAK_INSN_BIG
| ) |  |

Value:
bp_manipulation_endian<sizeof (BREAK_INSN_LITTLE), \
BREAK_INSN_LITTLE, BREAK_INSN_BIG>
bp_manipulation_endian
Definition: arch-utils.h:50

Definition at line 72 of file arch-utils.h.

## ◆ GDB_MMAP_PROT_EXEC

#define GDB_MMAP_PROT_EXEC 0x4 /* Page can be executed. */

Definition at line 245 of file arch-utils.h.

Referenced by linux_infcall_mmap(), and setup_sections().

## ◆ GDB_MMAP_PROT_READ

#define GDB_MMAP_PROT_READ 0x1 /* Page can be read. */

Definition at line 243 of file arch-utils.h.

Referenced by compile_object_load(), linux_infcall_mmap(), and setup_sections().

## ◆ GDB_MMAP_PROT_WRITE

#define GDB_MMAP_PROT_WRITE 0x2 /* Page can be written. */

Definition at line 244 of file arch-utils.h.

Referenced by compile_object_load(), linux_infcall_mmap(), and setup_sections().

## Function Documentation

## ◆ cannot_register_not()

int cannot_register_not | ( | struct gdbarch * | gdbarch,
|  | int | regnum
| ) |  |

Definition at line 189 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ core_addr_greaterthan()

int core_addr_greaterthan | ( | CORE_ADDR | lhs,
|  | CORE_ADDR | rhs
| ) |  |

Definition at line 123 of file arch-utils.c.

Referenced by hppa_gdbarch_init(), and xstormy16_gdbarch_init().

## ◆ core_addr_identity()

CORE_ADDR core_addr_identity | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | addr
| ) |  |

Definition at line 131 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ core_addr_lessthan()

int core_addr_lessthan | ( | CORE_ADDR | lhs,
|  | CORE_ADDR | rhs
| ) |  |

Definition at line 117 of file arch-utils.c.

Referenced by aarch64_gdbarch_init(), alpha_gdbarch_init(), arc_gdbarch_init(), arm_gdbarch_init(), avr_gdbarch_init(), bfin_gdbarch_init(), BP_MANIPULATION(), cris_gdbarch_init(), frv_gdbarch_init(), ft32_gdbarch_init(), i386_gdbarch_init(), ia64_gdbarch_init(), iq2000_gdbarch_init(), lm32_gdbarch_init(), m32c_gdbarch_init(), m32r_gdbarch_init(), m68hc11_gdbarch_init(), m68k_gdbarch_init(), m88k_gdbarch_init(), mep_gdbarch_init(), microblaze_gdbarch_init(), mips_gdbarch_init(), mn10300_gdbarch_init(), moxie_gdbarch_init(), msp430_gdbarch_init(), mt_gdbarch_init(), nds32_gdbarch_init(), nios2_gdbarch_init(), or1k_gdbarch_init(), rl78_gdbarch_init(), rs6000_gdbarch_init(), rx_gdbarch_init(), s390_gdbarch_init(), score_gdbarch_init(), sh64_gdbarch_init(), sh_gdbarch_init(), sparc32_gdbarch_init(), spu_gdbarch_init(), tic6x_gdbarch_init(), tilegx_gdbarch_init(), v850_gdbarch_init(), vax_gdbarch_init(), and xtensa_gdbarch_init().

## ◆ default_addressable_memory_unit_size()

int default_addressable_memory_unit_size | ( | struct gdbarch * | gdbarch | ) |

Definition at line 921 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_adjust_dwarf2_addr()

CORE_ADDR default_adjust_dwarf2_addr | ( | CORE_ADDR | pc | ) |

Definition at line 166 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_adjust_dwarf2_line()

CORE_ADDR default_adjust_dwarf2_line | ( | CORE_ADDR | addr,
|  | int | rel
| ) |  |

Definition at line 174 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_auto_charset()

const char* default_auto_charset | ( | void |  | ) |

Definition at line 917 of file charset.c.

References auto_target_charset_name.

Referenced by gdbarch_alloc().

## ◆ default_auto_wide_charset()

const char* default_auto_wide_charset | ( | void |  | ) |

Definition at line 923 of file charset.c.

References GDB_DEFAULT_TARGET_WIDE_CHARSET.

Referenced by gdbarch_alloc().

## ◆ default_breakpoint_from_pc()

const gdb_byte* default_breakpoint_from_pc | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR * | pcptr,
|  | int * | lenptr
| ) |  |

Definition at line 826 of file arch-utils.c.

References gdbarch_breakpoint_kind_from_pc(), and gdbarch_sw_breakpoint_from_kind().

Referenced by gdbarch_alloc().

## ◆ default_breakpoint_kind_from_current_state()

int default_breakpoint_kind_from_current_state | ( | struct gdbarch * | gdbarch,
|  | struct regcache * | regcache,
|  | CORE_ADDR * | pcptr
| ) |  |

Definition at line 834 of file arch-utils.c.

References gdbarch_breakpoint_kind_from_pc().

Referenced by gdbarch_alloc().

## ◆ default_code_of_frame_writable()

int default_code_of_frame_writable | ( | struct gdbarch * | gdbarch,
|  | struct frame_info * | frame
| ) |  |

Definition at line 108 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_coff_make_msymbol_special()

void default_coff_make_msymbol_special | ( | int | val,
|  | struct minimal_symbol * | msym
| ) |  |

Definition at line 150 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_displaced_step_hw_singlestep()

int default_displaced_step_hw_singlestep | ( | struct gdbarch * | ,
|  | struct displaced_step_closure * |
| ) |  |

Definition at line 43 of file arch-utils.c.

References gdbarch_software_single_step_p().

Referenced by gdbarch_alloc().

## ◆ default_execute_dwarf_cfa_vendor_op()

bool default_execute_dwarf_cfa_vendor_op | ( | struct gdbarch * | gdbarch,
|  | gdb_byte | op,
|  | struct dwarf2_frame_state * | fs
| ) |  |

Definition at line 182 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_fast_tracepoint_valid_at()

int default_fast_tracepoint_valid_at | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | addr,
|  | char ** | msg
| ) |  |

Definition at line 815 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_floatformat_for_type()

const struct floatformat** default_floatformat_for_type | ( | struct gdbarch * | gdbarch,
|  | const char * | name,
|  | int | len
| ) |  |

Definition at line 230 of file arch-utils.c.

References gdbarch_double_bit(), gdbarch_double_format(), gdbarch_float_bit(), gdbarch_float_format(), gdbarch_half_bit(), gdbarch_half_format(), gdbarch_long_double_bit(), and gdbarch_long_double_format().

Referenced by gdbarch_alloc(), i386_floatformat_for_type(), and ppc_floatformat_for_type().

## ◆ default_gcc_target_options()

char* default_gcc_target_options | ( | struct gdbarch * | gdbarch | ) |

Definition at line 903 of file arch-utils.c.

References gdbarch_ptr_bit(), and xstrprintf().

Referenced by gdbarch_alloc().

## ◆ default_gen_return_address()

void default_gen_return_address | ( | struct gdbarch * | gdbarch,
|  | struct agent_expr * | ax,
|  | struct axs_value * | value,
|  | CORE_ADDR | scope
| ) |  |

Definition at line 843 of file arch-utils.c.

References _, and error().

Referenced by gdbarch_alloc().

## ◆ default_gnu_triplet_regexp()

const char* default_gnu_triplet_regexp | ( | struct gdbarch * | gdbarch | ) |

Definition at line 912 of file arch-utils.c.

References gdbarch_bfd_arch_info().

Referenced by gdbarch_alloc().

## ◆ default_guess_tracepoint_registers()

void default_guess_tracepoint_registers | ( | struct gdbarch * | gdbarch,
|  | struct regcache * | regcache,
|  | CORE_ADDR | addr
| ) |  |

Definition at line 927 of file arch-utils.c.

References gdbarch_byte_order(), gdbarch_num_regs(), gdbarch_pc_regnum(), regcache_raw_supply(), register_size(), and store_unsigned_integer().

Referenced by gdbarch_alloc().

## ◆ default_has_shared_address_space()

int default_has_shared_address_space | ( | struct gdbarch * |  | ) |

Definition at line 807 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_infcall_mmap()

CORE_ADDR default_infcall_mmap | ( | CORE_ADDR | size,
|  | unsigned | prot
| ) |  |

Definition at line 888 of file arch-utils.c.

References _, and error().

Referenced by gdbarch_alloc().

## ◆ default_infcall_munmap()

void default_infcall_munmap | ( | CORE_ADDR | addr,
|  | CORE_ADDR | size
| ) |  |

Definition at line 894 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_insn_is_call()

int default_insn_is_call | ( | struct gdbarch * | ,
|  | CORE_ADDR |
| ) |  |

Definition at line 860 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_insn_is_jump()

int default_insn_is_jump | ( | struct gdbarch * | ,
|  | CORE_ADDR |
| ) |  |

Definition at line 870 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_insn_is_ret()

int default_insn_is_ret | ( | struct gdbarch * | ,
|  | CORE_ADDR |
| ) |  |

Definition at line 865 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_make_symbol_special()

void default_make_symbol_special | ( | struct symbol * | sym,
|  | struct objfile * | objfile
| ) |  |

Definition at line 158 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_print_insn()

int default_print_insn | ( | bfd_vma | memaddr,
|  | disassemble_info * | info
| ) |  |

Definition at line 950 of file arch-utils.c.

References exec_bfd, and gdb_assert.

Referenced by aarch64_gdb_print_insn(), arc_delayed_print_insn(), gdb_print_insn_arm(), gdb_print_insn_mips(), gdb_print_insn_spu(), gdbarch_alloc(), i386_print_insn(), and ia64_print_insn().

## ◆ default_remote_register_number()

int default_remote_register_number | ( | struct gdbarch * | gdbarch,
|  | int | regno
| ) |  |

Definition at line 275 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ default_return_in_first_hidden_param_p()

int default_return_in_first_hidden_param_p | ( | struct gdbarch * | ,
|  | struct type * |
| ) |  |

Definition at line 851 of file arch-utils.c.

References language_pass_by_reference().

Referenced by gdbarch_alloc().

## ◆ default_skip_permanent_breakpoint()

void default_skip_permanent_breakpoint | ( | struct regcache * | regcache | ) |

Definition at line 876 of file arch-utils.c.

References regcache::arch(), gdbarch_breakpoint_from_pc(), regcache_read_pc(), and regcache_write_pc().

Referenced by gdbarch_alloc().

## ◆ default_stabs_argument_has_addr()

int default_stabs_argument_has_addr | ( | struct gdbarch * | gdbarch,
|  | struct type * | type
| ) |  |

Definition at line 262 of file arch-utils.c.

Referenced by gdbarch_alloc(), and sparc64_init_abi().

## ◆ default_vsyscall_range()

int default_vsyscall_range | ( | struct gdbarch * | gdbarch,
|  | struct mem_range * | range
| ) |  |

Definition at line 284 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ displaced_step_at_entry_point()

CORE_ADDR displaced_step_at_entry_point | ( | struct gdbarch * | gdbarch | ) |

Definition at line 50 of file arch-utils.c.

References entry_point_address(), and gdbarch_breakpoint_from_pc().

Referenced by rs6000_gdbarch_init().

## ◆ gdbarch_from_bfd()

struct gdbarch* gdbarch_from_bfd | ( | bfd * | abfd | ) |

Definition at line 577 of file arch-utils.c.

References gdbarch_info::abfd, gdbarch_find_by_info(), and gdbarch_info_init().

Referenced by core_open(), get_objfile_bfd_data(), linux_core_info_proc_mappings(), print_bfd_section_info(), print_objfile_section_info(), and print_section_info().

## ◆ gdbarch_info_fill()

void gdbarch_info_fill | ( | struct gdbarch_info * | info | ) |

Definition at line 738 of file arch-utils.c.

References gdbarch_info::abfd, gdbarch_info::bfd_arch_info, gdbarch_info::byte_order, gdbarch_info::byte_order_for_code, choose_architecture_for_target(), default_bfd_arch, default_byte_order, gdb_assert, GDB_OSABI_DEFAULT, GDB_OSABI_UNINITIALIZED, GDB_OSABI_UNKNOWN, gdbarch_lookup_osabi(), gdbarch_info::osabi, target_architecture_user, target_byte_order_user, gdbarch_info::target_desc, and tdesc_osabi().

Referenced by darwin_check_osabi(), and gdbarch_find_by_info().

## ◆ gdbarch_info_init()

void gdbarch_info_init | ( | struct gdbarch_info * | info | ) |

Definition at line 725 of file arch-utils.c.

References gdbarch_info::byte_order, gdbarch_info::byte_order_for_code, GDB_OSABI_UNINITIALIZED, memset(), and gdbarch_info::osabi.

Referenced by add_inferior_with_spaces(), arm_update_current_architecture(), darwin_check_osabi(), gdbarch_from_bfd(), initialize_current_architecture(), mips_abi_update(), powerpc_set_soft_float(), powerpc_set_vector_abi(), ppu2spu_sniffer(), rs6000_create_inferior(), set_architecture(), set_cris_dwarf2_cfi(), set_cris_mode(), set_cris_version(), set_endian(), set_gdbarch_from_file(), set_mips64_transfers_32bit_regs(), set_mipsfpu_double_command(), set_mipsfpu_none_command(), set_mipsfpu_single_command(), set_osabi(), spu_gdbarch(), target_clear_description(), and target_find_description().

## ◆ gdbarch_skip_prologue_noexcept()

CORE_ADDR gdbarch_skip_prologue_noexcept | ( | gdbarch * | gdbarch,
|  | CORE_ADDR | pc
| ) |  |
| noexcept

Definition at line 964 of file arch-utils.c.

References CATCH, END_CATCH, gdbarch_skip_prologue(), RETURN_MASK_ALL, and TRY.

Referenced by handle_step_into_function(), handle_step_into_function_backward(), and skip_prologue_sal().

## ◆ generic_convert_register_p()

int generic_convert_register_p | ( | struct gdbarch * | gdbarch,
|  | int | regnum,
|  | struct type * | type
| ) |  |

Definition at line 255 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ generic_in_solib_return_trampoline()

int generic_in_solib_return_trampoline | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | pc,
|  | const char * | name
| ) |  |

Definition at line 95 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ generic_instruction_nullified()

int generic_instruction_nullified | ( | struct gdbarch * | gdbarch,
|  | struct regcache * | regcache
| ) |  |

Definition at line 268 of file arch-utils.c.

## ◆ generic_skip_solib_resolver()

CORE_ADDR generic_skip_solib_resolver | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | pc
| ) |  |

Definition at line 89 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ generic_skip_trampoline_code()

CORE_ADDR generic_skip_trampoline_code | ( | struct frame_info * | frame,
|  | CORE_ADDR | pc
| ) |  |

Definition at line 83 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ generic_stack_frame_destroyed_p()

int generic_stack_frame_destroyed_p | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | pc
| ) |  |

Definition at line 102 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ get_current_arch()

struct gdbarch* get_current_arch | ( | void |  | ) |

Definition at line 798 of file arch-utils.c.

References get_frame_arch(), get_selected_frame(), has_stack_frames(), and target_gdbarch().

Referenced by add_solib_catchpoint(), add_symbol_file_command(), agent_eval_command_one(), bpfinishpy_handle_stop(), break_command_1(), break_range_command(), catch_ada_exception_command(), catch_ada_handlers_command(), catch_assert_command(), catch_exec_command_1(), catch_fork_command_1(), catch_syscall_command_1(), catch_syscall_completer(), cmdpy_completer(), cmdpy_completer_handle_brkchars(), cmdpy_destroyer(), cmdpy_function(), compile_to_object(), core_info_proc(), create_signal_catchpoint(), create_syscall_event_catchpoint(), create_tracepoint_from_upload(), disassemble_command(), disassembler_options_completer(), do_one_display(), do_set_command(), dprintf_command(), echo_command(), edit_command(), extract_display_start_addr(), find_command(), ftrace_command(), gdbpy_apply_type_printers(), gdbpy_before_prompt_hook(), gdbpy_breakpoint_cond_says_stop(), gdbpy_breakpoint_has_cond(), gdbpy_clone_xmethod_worker_data(), gdbpy_eval_from_control_command(), gdbpy_finish_initialization(), gdbpy_free_type_printers(), gdbpy_free_xmethod_worker_data(), gdbpy_get_matching_xmethod_workers(), gdbpy_get_xmethod_arg_types(), gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), gdbpy_run_events(), gdbpy_source_script(), gdbpy_start_type_printers(), gdbscm_current_arch(), gdbscm_make_value(), gdbscm_register_breakpoint_x(), gdbscm_value_call(), get_set_value(), get_show_value(), handle_gnu_v3_exceptions(), i386_mpx_enabled(), i386_mpx_get_bt_entry(), i386_mpx_info_bounds(), i386_mpx_print_bounds(), i386_mpx_set_bounds(), inferior_call_waitpid(), info_checkpoints_command(), info_exceptions_command(), info_line_command(), info_probes_for_spops(), info_proc_cmd_1(), jump_command(), list_command(), maint_agent_printf_command(), maintenance_print_architecture(), maintenance_print_reggroups(), maintenance_print_user_registers(), merge_uploaded_tracepoints(), mi_cmd_break_insert_1(), mi_cmd_catch_assert(), mi_cmd_catch_exception(), mi_cmd_data_list_register_names(), mi_cmd_data_read_memory(), mi_cmd_data_read_memory_bytes(), mi_cmd_data_write_memory(), mi_cmd_data_write_memory_bytes(), mi_cmd_disassemble(), mi_cmd_info_ada_exceptions(), msp430_gdbarch_init(), overlay_load_command(), parse_cmd_to_aexpr(), parse_exp_in_context_1(), python_command(), python_interactive_command(), python_on_normal_stop(), record_full_restore(), reg_or_group_completer_1(), set_charset_sfunc(), set_disassembler_options(), set_host_charset_sfunc(), set_target_charset_sfunc(), set_target_wide_charset_sfunc(), show_architecture(), show_convenience(), show_disassembler_options_sfunc(), show_disassembly_style_sfunc(), show_endian(), show_osabi(), show_target_charset_name(), show_target_wide_charset_name(), skip_function_command(), strace_command(), tfind_line_command(), trace_command(), tui_get_begin_asm_address(), tui_reg_command(), tyscm_lookup_typename(), vlscm_binop(), vlscm_rich_compare(), and vlscm_unop().

## ◆ legacy_register_sim_regno()

int legacy_register_sim_regno | ( | struct gdbarch * | gdbarch,
|  | int | regnum
| ) |  |

Definition at line 67 of file arch-utils.c.

References gdb_assert, gdbarch_num_regs(), gdbarch_register_name(), LEGACY_SIM_REGNO_IGNORE, and regnum.

Referenced by gdbarch_alloc(), sh64_gdbarch_init(), sh_dsp_register_sim_regno(), sh_gdbarch_init(), and sh_sh2a_register_sim_regno().

## ◆ no_op_reg_to_regnum()

int no_op_reg_to_regnum | ( | struct gdbarch * | gdbarch,
|  | int | reg
| ) |  |

Definition at line 144 of file arch-utils.c.

Referenced by gdbarch_alloc().

## ◆ selected_architecture_name()

const char* selected_architecture_name | ( | void |  | ) |

Definition at line 464 of file arch-utils.c.

References set_architecture_string, and target_architecture_user.

Referenced by gdbsim_open().

## ◆ selected_byte_order()

enum bfd_endian selected_byte_order | ( | void |  | ) |

Definition at line 307 of file arch-utils.c.

References target_byte_order_user.

Referenced by gdbsim_open().

## Variable Documentation

## ◆ convert_from_func_ptr_addr_identity

gdbarch_convert_from_func_ptr_addr_ftype convert_from_func_ptr_addr_identity

Referenced by gdbarch_alloc().

## ◆ legacy_virtual_frame_pointer

gdbarch_virtual_frame_pointer_ftype legacy_virtual_frame_pointer

Referenced by gdbarch_alloc().