GDB (xrefs)
Loading...
Searching...
No Matches
Public Attributes | List of all members
gdbarch Struct Reference

Public Attributes

bool initialized_p = false
 
auto_obstack obstack
 
registry< gdbarchregistry_fields
 
const struct bfd_arch_info * bfd_arch_info
 
enum bfd_endian byte_order
 
enum bfd_endian byte_order_for_code
 
enum gdb_osabi osabi
 
const struct target_desctarget_desc
 
gdbarch_tdep_up tdep
 
gdbarch_dump_tdep_ftypedump_tdep = nullptr
 
int short_bit = 2*TARGET_CHAR_BIT
 
int int_bit = 4*TARGET_CHAR_BIT
 
int long_bit = 4*TARGET_CHAR_BIT
 
int long_long_bit = 2*4*TARGET_CHAR_BIT
 
int bfloat16_bit = 2*TARGET_CHAR_BIT
 
const struct floatformat ** bfloat16_format = floatformats_bfloat16
 
int half_bit = 2*TARGET_CHAR_BIT
 
const struct floatformat ** half_format = floatformats_ieee_half
 
int float_bit = 4*TARGET_CHAR_BIT
 
const struct floatformat ** float_format = floatformats_ieee_single
 
int double_bit = 8*TARGET_CHAR_BIT
 
const struct floatformat ** double_format = floatformats_ieee_double
 
int long_double_bit = 8*TARGET_CHAR_BIT
 
const struct floatformat ** long_double_format = floatformats_ieee_double
 
int wchar_bit = 4*TARGET_CHAR_BIT
 
int wchar_signed = -1
 
gdbarch_floatformat_for_type_ftypefloatformat_for_type = default_floatformat_for_type
 
int ptr_bit = 4*TARGET_CHAR_BIT
 
int addr_bit = 0
 
int dwarf2_addr_size = 0
 
int char_signed = -1
 
gdbarch_read_pc_ftyperead_pc = nullptr
 
gdbarch_write_pc_ftypewrite_pc = nullptr
 
gdbarch_virtual_frame_pointer_ftypevirtual_frame_pointer = legacy_virtual_frame_pointer
 
gdbarch_pseudo_register_read_ftypepseudo_register_read = nullptr
 
gdbarch_pseudo_register_read_value_ftypepseudo_register_read_value = nullptr
 
gdbarch_pseudo_register_write_ftypepseudo_register_write = nullptr
 
int num_regs = -1
 
int num_pseudo_regs = 0
 
gdbarch_ax_pseudo_register_collect_ftypeax_pseudo_register_collect = nullptr
 
gdbarch_ax_pseudo_register_push_stack_ftypeax_pseudo_register_push_stack = nullptr
 
gdbarch_report_signal_info_ftypereport_signal_info = nullptr
 
int sp_regnum = -1
 
int pc_regnum = -1
 
int ps_regnum = -1
 
int fp0_regnum = -1
 
gdbarch_stab_reg_to_regnum_ftypestab_reg_to_regnum = no_op_reg_to_regnum
 
gdbarch_ecoff_reg_to_regnum_ftypeecoff_reg_to_regnum = no_op_reg_to_regnum
 
gdbarch_sdb_reg_to_regnum_ftypesdb_reg_to_regnum = no_op_reg_to_regnum
 
gdbarch_dwarf2_reg_to_regnum_ftypedwarf2_reg_to_regnum = no_op_reg_to_regnum
 
gdbarch_register_name_ftyperegister_name = nullptr
 
gdbarch_register_type_ftyperegister_type = nullptr
 
gdbarch_dummy_id_ftypedummy_id = default_dummy_id
 
int deprecated_fp_regnum = -1
 
gdbarch_push_dummy_call_ftypepush_dummy_call = nullptr
 
enum call_dummy_location_type call_dummy_location = AT_ENTRY_POINT
 
gdbarch_push_dummy_code_ftypepush_dummy_code = nullptr
 
gdbarch_code_of_frame_writable_ftypecode_of_frame_writable = default_code_of_frame_writable
 
gdbarch_print_registers_info_ftypeprint_registers_info = default_print_registers_info
 
gdbarch_print_float_info_ftypeprint_float_info = default_print_float_info
 
gdbarch_print_vector_info_ftypeprint_vector_info = nullptr
 
gdbarch_register_sim_regno_ftyperegister_sim_regno = legacy_register_sim_regno
 
gdbarch_cannot_fetch_register_ftypecannot_fetch_register = cannot_register_not
 
gdbarch_cannot_store_register_ftypecannot_store_register = cannot_register_not
 
gdbarch_get_longjmp_target_ftypeget_longjmp_target = nullptr
 
int believe_pcc_promotion = 0
 
gdbarch_convert_register_p_ftypeconvert_register_p = generic_convert_register_p
 
gdbarch_register_to_value_ftyperegister_to_value = nullptr
 
gdbarch_value_to_register_ftypevalue_to_register = nullptr
 
gdbarch_value_from_register_ftypevalue_from_register = default_value_from_register
 
gdbarch_pointer_to_address_ftypepointer_to_address = unsigned_pointer_to_address
 
gdbarch_address_to_pointer_ftypeaddress_to_pointer = unsigned_address_to_pointer
 
gdbarch_integer_to_address_ftypeinteger_to_address = nullptr
 
gdbarch_return_value_ftypereturn_value = nullptr
 
gdbarch_return_value_as_value_ftypereturn_value_as_value = default_gdbarch_return_value
 
gdbarch_get_return_buf_addr_ftypeget_return_buf_addr = default_get_return_buf_addr
 
gdbarch_dwarf2_omit_typedef_p_ftypedwarf2_omit_typedef_p = default_dwarf2_omit_typedef_p
 
gdbarch_update_call_site_pc_ftypeupdate_call_site_pc = default_update_call_site_pc
 
gdbarch_return_in_first_hidden_param_p_ftypereturn_in_first_hidden_param_p = default_return_in_first_hidden_param_p
 
gdbarch_skip_prologue_ftypeskip_prologue = nullptr
 
gdbarch_skip_main_prologue_ftypeskip_main_prologue = nullptr
 
gdbarch_skip_entrypoint_ftypeskip_entrypoint = nullptr
 
gdbarch_inner_than_ftypeinner_than = nullptr
 
gdbarch_breakpoint_from_pc_ftypebreakpoint_from_pc = default_breakpoint_from_pc
 
gdbarch_breakpoint_kind_from_pc_ftypebreakpoint_kind_from_pc = nullptr
 
gdbarch_sw_breakpoint_from_kind_ftypesw_breakpoint_from_kind = NULL
 
gdbarch_breakpoint_kind_from_current_state_ftypebreakpoint_kind_from_current_state = default_breakpoint_kind_from_current_state
 
gdbarch_adjust_breakpoint_address_ftypeadjust_breakpoint_address = nullptr
 
gdbarch_memory_insert_breakpoint_ftypememory_insert_breakpoint = default_memory_insert_breakpoint
 
gdbarch_memory_remove_breakpoint_ftypememory_remove_breakpoint = default_memory_remove_breakpoint
 
CORE_ADDR decr_pc_after_break = 0
 
CORE_ADDR deprecated_function_start_offset = 0
 
gdbarch_remote_register_number_ftyperemote_register_number = default_remote_register_number
 
gdbarch_fetch_tls_load_module_address_ftypefetch_tls_load_module_address = nullptr
 
gdbarch_get_thread_local_address_ftypeget_thread_local_address = nullptr
 
CORE_ADDR frame_args_skip = 0
 
gdbarch_unwind_pc_ftypeunwind_pc = default_unwind_pc
 
gdbarch_unwind_sp_ftypeunwind_sp = default_unwind_sp
 
gdbarch_frame_num_args_ftypeframe_num_args = nullptr
 
gdbarch_frame_align_ftypeframe_align = nullptr
 
gdbarch_stabs_argument_has_addr_ftypestabs_argument_has_addr = default_stabs_argument_has_addr
 
int frame_red_zone_size = 0
 
gdbarch_convert_from_func_ptr_addr_ftypeconvert_from_func_ptr_addr = convert_from_func_ptr_addr_identity
 
gdbarch_addr_bits_remove_ftypeaddr_bits_remove = core_addr_identity
 
gdbarch_remove_non_address_bits_ftyperemove_non_address_bits = default_remove_non_address_bits
 
gdbarch_memtag_to_string_ftypememtag_to_string = default_memtag_to_string
 
gdbarch_tagged_address_p_ftypetagged_address_p = default_tagged_address_p
 
gdbarch_memtag_matches_p_ftypememtag_matches_p = default_memtag_matches_p
 
gdbarch_set_memtags_ftypeset_memtags = default_set_memtags
 
gdbarch_get_memtag_ftypeget_memtag = default_get_memtag
 
CORE_ADDR memtag_granule_size = 0
 
gdbarch_software_single_step_ftype * software_single_step = nullptr
 
gdbarch_single_step_through_delay_ftypesingle_step_through_delay = nullptr
 
gdbarch_print_insn_ftypeprint_insn = default_print_insn
 
gdbarch_skip_trampoline_code_ftypeskip_trampoline_code = generic_skip_trampoline_code
 
const struct target_so_opsso_ops = &solib_target_so_ops
 
gdbarch_skip_solib_resolver_ftypeskip_solib_resolver = generic_skip_solib_resolver
 
gdbarch_in_solib_return_trampoline_ftypein_solib_return_trampoline = generic_in_solib_return_trampoline
 
gdbarch_in_indirect_branch_thunk_ftypein_indirect_branch_thunk = default_in_indirect_branch_thunk
 
gdbarch_stack_frame_destroyed_p_ftypestack_frame_destroyed_p = generic_stack_frame_destroyed_p
 
gdbarch_elf_make_msymbol_special_ftypeelf_make_msymbol_special = nullptr
 
gdbarch_coff_make_msymbol_special_ftypecoff_make_msymbol_special = default_coff_make_msymbol_special
 
gdbarch_make_symbol_special_ftypemake_symbol_special = default_make_symbol_special
 
gdbarch_adjust_dwarf2_addr_ftypeadjust_dwarf2_addr = default_adjust_dwarf2_addr
 
gdbarch_adjust_dwarf2_line_ftypeadjust_dwarf2_line = default_adjust_dwarf2_line
 
int cannot_step_breakpoint = 0
 
int have_nonsteppable_watchpoint = 0
 
gdbarch_address_class_type_flags_ftypeaddress_class_type_flags = nullptr
 
gdbarch_address_class_type_flags_to_name_ftypeaddress_class_type_flags_to_name = nullptr
 
gdbarch_execute_dwarf_cfa_vendor_op_ftypeexecute_dwarf_cfa_vendor_op = default_execute_dwarf_cfa_vendor_op
 
gdbarch_address_class_name_to_type_flags_ftypeaddress_class_name_to_type_flags = nullptr
 
gdbarch_register_reggroup_p_ftyperegister_reggroup_p = default_register_reggroup_p
 
gdbarch_fetch_pointer_argument_ftypefetch_pointer_argument = nullptr
 
gdbarch_iterate_over_regset_sections_ftypeiterate_over_regset_sections = nullptr
 
gdbarch_make_corefile_notes_ftype * make_corefile_notes = nullptr
 
gdbarch_find_memory_regions_ftypefind_memory_regions = nullptr
 
gdbarch_create_memtag_section_ftypecreate_memtag_section = nullptr
 
gdbarch_fill_memtag_section_ftypefill_memtag_section = nullptr
 
gdbarch_decode_memtag_section_ftypedecode_memtag_section = nullptr
 
gdbarch_core_xfer_shared_libraries_ftypecore_xfer_shared_libraries = nullptr
 
gdbarch_core_xfer_shared_libraries_aix_ftypecore_xfer_shared_libraries_aix = nullptr
 
gdbarch_core_pid_to_str_ftypecore_pid_to_str = nullptr
 
gdbarch_core_thread_name_ftypecore_thread_name = nullptr
 
gdbarch_core_xfer_siginfo_ftypecore_xfer_siginfo = nullptr
 
gdbarch_core_read_x86_xsave_layout_ftypecore_read_x86_xsave_layout = nullptr
 
const char * gcore_bfd_target = 0
 
int vtable_function_descriptors = 0
 
int vbit_in_delta = 0
 
gdbarch_skip_permanent_breakpoint_ftypeskip_permanent_breakpoint = default_skip_permanent_breakpoint
 
ULONGEST max_insn_length = 0
 
gdbarch_displaced_step_copy_insn_ftypedisplaced_step_copy_insn = nullptr
 
gdbarch_displaced_step_hw_singlestep_ftypedisplaced_step_hw_singlestep = default_displaced_step_hw_singlestep
 
gdbarch_displaced_step_fixup_ftypedisplaced_step_fixup = NULL
 
gdbarch_displaced_step_prepare_ftypedisplaced_step_prepare = nullptr
 
gdbarch_displaced_step_finish_ftypedisplaced_step_finish = NULL
 
gdbarch_displaced_step_copy_insn_closure_by_addr_ftypedisplaced_step_copy_insn_closure_by_addr = nullptr
 
gdbarch_displaced_step_restore_all_in_ptid_ftypedisplaced_step_restore_all_in_ptid = nullptr
 
ULONGEST displaced_step_buffer_length = 0
 
gdbarch_relocate_instruction_ftyperelocate_instruction = NULL
 
gdbarch_overlay_update_ftypeoverlay_update = nullptr
 
gdbarch_core_read_description_ftypecore_read_description = nullptr
 
int sofun_address_maybe_missing = 0
 
gdbarch_process_record_ftypeprocess_record = nullptr
 
gdbarch_process_record_signal_ftypeprocess_record_signal = nullptr
 
gdbarch_gdb_signal_from_target_ftypegdb_signal_from_target = nullptr
 
gdbarch_gdb_signal_to_target_ftypegdb_signal_to_target = nullptr
 
gdbarch_get_siginfo_type_ftypeget_siginfo_type = nullptr
 
gdbarch_record_special_symbol_ftyperecord_special_symbol = nullptr
 
gdbarch_get_syscall_number_ftypeget_syscall_number = nullptr
 
const char * xml_syscall_file = 0
 
struct syscalls_info * syscalls_info = 0
 
const char *const * stap_integer_prefixes = 0
 
const char *const * stap_integer_suffixes = 0
 
const char *const * stap_register_prefixes = 0
 
const char *const * stap_register_suffixes = 0
 
const char *const * stap_register_indirection_prefixes = 0
 
const char *const * stap_register_indirection_suffixes = 0
 
const char * stap_gdb_register_prefix = 0
 
const char * stap_gdb_register_suffix = 0
 
gdbarch_stap_is_single_operand_ftypestap_is_single_operand = nullptr
 
gdbarch_stap_parse_special_token_ftypestap_parse_special_token = nullptr
 
gdbarch_stap_adjust_register_ftypestap_adjust_register = nullptr
 
gdbarch_dtrace_parse_probe_argument_ftypedtrace_parse_probe_argument = nullptr
 
gdbarch_dtrace_probe_is_enabled_ftypedtrace_probe_is_enabled = nullptr
 
gdbarch_dtrace_enable_probe_ftypedtrace_enable_probe = nullptr
 
gdbarch_dtrace_disable_probe_ftypedtrace_disable_probe = nullptr
 
int has_global_solist = 0
 
int has_global_breakpoints = 0
 
gdbarch_has_shared_address_space_ftypehas_shared_address_space = default_has_shared_address_space
 
gdbarch_fast_tracepoint_valid_at_ftypefast_tracepoint_valid_at = default_fast_tracepoint_valid_at
 
gdbarch_guess_tracepoint_registers_ftypeguess_tracepoint_registers = default_guess_tracepoint_registers
 
gdbarch_auto_charset_ftypeauto_charset = default_auto_charset
 
gdbarch_auto_wide_charset_ftypeauto_wide_charset = default_auto_wide_charset
 
const char * solib_symbols_extension = 0
 
int has_dos_based_file_system = 0
 
gdbarch_gen_return_address_ftypegen_return_address = default_gen_return_address
 
gdbarch_info_proc_ftypeinfo_proc = nullptr
 
gdbarch_core_info_proc_ftypecore_info_proc = nullptr
 
gdbarch_iterate_over_objfiles_in_search_order_ftypeiterate_over_objfiles_in_search_order = default_iterate_over_objfiles_in_search_order
 
struct ravenscar_arch_opsravenscar_ops = NULL
 
gdbarch_insn_is_call_ftypeinsn_is_call = default_insn_is_call
 
gdbarch_insn_is_ret_ftypeinsn_is_ret = default_insn_is_ret
 
gdbarch_insn_is_jump_ftypeinsn_is_jump = default_insn_is_jump
 
gdbarch_program_breakpoint_here_p_ftypeprogram_breakpoint_here_p = default_program_breakpoint_here_p
 
gdbarch_auxv_parse_ftypeauxv_parse = nullptr
 
gdbarch_print_auxv_entry_ftypeprint_auxv_entry = default_print_auxv_entry
 
gdbarch_vsyscall_range_ftypevsyscall_range = default_vsyscall_range
 
gdbarch_infcall_mmap_ftypeinfcall_mmap = default_infcall_mmap
 
gdbarch_infcall_munmap_ftypeinfcall_munmap = default_infcall_munmap
 
gdbarch_gcc_target_options_ftypegcc_target_options = default_gcc_target_options
 
gdbarch_gnu_triplet_regexp_ftypegnu_triplet_regexp = default_gnu_triplet_regexp
 
gdbarch_addressable_memory_unit_size_ftypeaddressable_memory_unit_size = default_addressable_memory_unit_size
 
const char * disassembler_options_implicit = 0
 
char ** disassembler_options = 0
 
const disasm_options_and_args_t * valid_disassembler_options = 0
 
gdbarch_type_align_ftypetype_align = default_type_align
 
gdbarch_get_pc_address_flags_ftypeget_pc_address_flags = default_get_pc_address_flags
 
gdbarch_read_core_file_mappings_ftyperead_core_file_mappings = default_read_core_file_mappings
 
gdbarch_use_target_description_from_corefile_notes_ftypeuse_target_description_from_corefile_notes = default_use_target_description_from_corefile_notes
 
 copyright
 
 file
 
 comment = c.comment.split("\n")
 
 f
 
 end
 
str init_value = c.predefault or "0"
 
 printer = c.printer
 
str printer = f"core_addr_to_string_nz (gdbarch->{c.name})"
 
str setter_name = f"set_gdbarch_{c.name}"
 
str ftype_name = f"gdbarch_{c.name}_ftype"
 
 indent_columns = len(f"{setter_name} (")
 

Detailed Description

Definition at line 30 of file gdbarch.c.

Member Data Documentation

◆ addr_bit

int gdbarch::addr_bit = 0

Definition at line 69 of file gdbarch.c.

◆ addr_bits_remove

gdbarch_addr_bits_remove_ftype* gdbarch::addr_bits_remove = core_addr_identity

Definition at line 144 of file gdbarch.c.

◆ address_class_name_to_type_flags

gdbarch_address_class_name_to_type_flags_ftype* gdbarch::address_class_name_to_type_flags = nullptr

Definition at line 171 of file gdbarch.c.

◆ address_class_type_flags

gdbarch_address_class_type_flags_ftype* gdbarch::address_class_type_flags = nullptr

Definition at line 168 of file gdbarch.c.

◆ address_class_type_flags_to_name

gdbarch_address_class_type_flags_to_name_ftype* gdbarch::address_class_type_flags_to_name = nullptr

Definition at line 169 of file gdbarch.c.

◆ address_to_pointer

Definition at line 112 of file gdbarch.c.

◆ addressable_memory_unit_size

Definition at line 252 of file gdbarch.c.

◆ adjust_breakpoint_address

gdbarch_adjust_breakpoint_address_ftype* gdbarch::adjust_breakpoint_address = nullptr

Definition at line 128 of file gdbarch.c.

◆ adjust_dwarf2_addr

Definition at line 164 of file gdbarch.c.

◆ adjust_dwarf2_line

Definition at line 165 of file gdbarch.c.

◆ auto_charset

Definition at line 232 of file gdbarch.c.

◆ auto_wide_charset

Definition at line 233 of file gdbarch.c.

◆ auxv_parse

gdbarch_auxv_parse_ftype* gdbarch::auxv_parse = nullptr

Definition at line 245 of file gdbarch.c.

◆ ax_pseudo_register_collect

gdbarch_ax_pseudo_register_collect_ftype* gdbarch::ax_pseudo_register_collect = nullptr

Definition at line 80 of file gdbarch.c.

◆ ax_pseudo_register_push_stack

gdbarch_ax_pseudo_register_push_stack_ftype* gdbarch::ax_pseudo_register_push_stack = nullptr

Definition at line 81 of file gdbarch.c.

◆ believe_pcc_promotion

int gdbarch::believe_pcc_promotion = 0

Definition at line 106 of file gdbarch.c.

◆ bfd_arch_info

const struct bfd_arch_info* gdbarch::bfd_arch_info

Definition at line 41 of file gdbarch.c.

Referenced by gdbarch_find_by_info(), and m32c_gdbarch_init().

◆ bfloat16_bit

int gdbarch::bfloat16_bit = 2*TARGET_CHAR_BIT

Definition at line 55 of file gdbarch.c.

◆ bfloat16_format

const struct floatformat** gdbarch::bfloat16_format = floatformats_bfloat16

Definition at line 56 of file gdbarch.c.

◆ breakpoint_from_pc

Definition at line 124 of file gdbarch.c.

◆ breakpoint_kind_from_current_state

Definition at line 127 of file gdbarch.c.

◆ breakpoint_kind_from_pc

gdbarch_breakpoint_kind_from_pc_ftype* gdbarch::breakpoint_kind_from_pc = nullptr

Definition at line 125 of file gdbarch.c.

◆ byte_order

enum bfd_endian gdbarch::byte_order

Definition at line 42 of file gdbarch.c.

◆ byte_order_for_code

enum bfd_endian gdbarch::byte_order_for_code

Definition at line 43 of file gdbarch.c.

◆ call_dummy_location

enum call_dummy_location_type gdbarch::call_dummy_location = AT_ENTRY_POINT

Definition at line 96 of file gdbarch.c.

◆ cannot_fetch_register

gdbarch_cannot_fetch_register_ftype* gdbarch::cannot_fetch_register = cannot_register_not

Definition at line 103 of file gdbarch.c.

◆ cannot_step_breakpoint

int gdbarch::cannot_step_breakpoint = 0

Definition at line 166 of file gdbarch.c.

◆ cannot_store_register

gdbarch_cannot_store_register_ftype* gdbarch::cannot_store_register = cannot_register_not

Definition at line 104 of file gdbarch.c.

◆ char_signed

int gdbarch::char_signed = -1

Definition at line 71 of file gdbarch.c.

◆ code_of_frame_writable

Definition at line 98 of file gdbarch.c.

◆ coff_make_msymbol_special

Definition at line 162 of file gdbarch.c.

◆ comment

gdbarch.comment = c.comment.split("\n")

Definition at line 76 of file gdbarch.py.

◆ convert_from_func_ptr_addr

Definition at line 143 of file gdbarch.c.

◆ convert_register_p

Definition at line 107 of file gdbarch.c.

◆ copyright

gdbarch.copyright
Initial value:
"gdbarch.py", "Dynamic architecture support for GDB, the GNU debugger."
)
copyright(str tool, str description)

Definition at line 36 of file gdbarch.py.

◆ core_info_proc

gdbarch_core_info_proc_ftype* gdbarch::core_info_proc = nullptr

Definition at line 238 of file gdbarch.c.

◆ core_pid_to_str

gdbarch_core_pid_to_str_ftype* gdbarch::core_pid_to_str = nullptr

Definition at line 182 of file gdbarch.c.

◆ core_read_description

gdbarch_core_read_description_ftype* gdbarch::core_read_description = nullptr

Definition at line 201 of file gdbarch.c.

◆ core_read_x86_xsave_layout

gdbarch_core_read_x86_xsave_layout_ftype* gdbarch::core_read_x86_xsave_layout = nullptr

Definition at line 185 of file gdbarch.c.

◆ core_thread_name

gdbarch_core_thread_name_ftype* gdbarch::core_thread_name = nullptr

Definition at line 183 of file gdbarch.c.

◆ core_xfer_shared_libraries

gdbarch_core_xfer_shared_libraries_ftype* gdbarch::core_xfer_shared_libraries = nullptr

Definition at line 180 of file gdbarch.c.

◆ core_xfer_shared_libraries_aix

gdbarch_core_xfer_shared_libraries_aix_ftype* gdbarch::core_xfer_shared_libraries_aix = nullptr

Definition at line 181 of file gdbarch.c.

◆ core_xfer_siginfo

gdbarch_core_xfer_siginfo_ftype* gdbarch::core_xfer_siginfo = nullptr

Definition at line 184 of file gdbarch.c.

◆ create_memtag_section

gdbarch_create_memtag_section_ftype* gdbarch::create_memtag_section = nullptr

Definition at line 177 of file gdbarch.c.

◆ decode_memtag_section

gdbarch_decode_memtag_section_ftype* gdbarch::decode_memtag_section = nullptr

Definition at line 179 of file gdbarch.c.

◆ decr_pc_after_break

CORE_ADDR gdbarch::decr_pc_after_break = 0

Definition at line 131 of file gdbarch.c.

◆ deprecated_fp_regnum

int gdbarch::deprecated_fp_regnum = -1

Definition at line 94 of file gdbarch.c.

◆ deprecated_function_start_offset

CORE_ADDR gdbarch::deprecated_function_start_offset = 0

Definition at line 132 of file gdbarch.c.

◆ disassembler_options

char** gdbarch::disassembler_options = 0

Definition at line 254 of file gdbarch.c.

◆ disassembler_options_implicit

const char* gdbarch::disassembler_options_implicit = 0

Definition at line 253 of file gdbarch.c.

◆ displaced_step_buffer_length

ULONGEST gdbarch::displaced_step_buffer_length = 0

Definition at line 198 of file gdbarch.c.

◆ displaced_step_copy_insn

gdbarch_displaced_step_copy_insn_ftype* gdbarch::displaced_step_copy_insn = nullptr

Definition at line 191 of file gdbarch.c.

◆ displaced_step_copy_insn_closure_by_addr

gdbarch_displaced_step_copy_insn_closure_by_addr_ftype* gdbarch::displaced_step_copy_insn_closure_by_addr = nullptr

Definition at line 196 of file gdbarch.c.

◆ displaced_step_finish

gdbarch_displaced_step_finish_ftype* gdbarch::displaced_step_finish = NULL

Definition at line 195 of file gdbarch.c.

◆ displaced_step_fixup

gdbarch_displaced_step_fixup_ftype* gdbarch::displaced_step_fixup = NULL

Definition at line 193 of file gdbarch.c.

◆ displaced_step_hw_singlestep

Definition at line 192 of file gdbarch.c.

◆ displaced_step_prepare

gdbarch_displaced_step_prepare_ftype* gdbarch::displaced_step_prepare = nullptr

Definition at line 194 of file gdbarch.c.

◆ displaced_step_restore_all_in_ptid

gdbarch_displaced_step_restore_all_in_ptid_ftype* gdbarch::displaced_step_restore_all_in_ptid = nullptr

Definition at line 197 of file gdbarch.c.

◆ double_bit

int gdbarch::double_bit = 8*TARGET_CHAR_BIT

Definition at line 61 of file gdbarch.c.

◆ double_format

const struct floatformat** gdbarch::double_format = floatformats_ieee_double

Definition at line 62 of file gdbarch.c.

◆ dtrace_disable_probe

gdbarch_dtrace_disable_probe_ftype* gdbarch::dtrace_disable_probe = nullptr

Definition at line 226 of file gdbarch.c.

◆ dtrace_enable_probe

gdbarch_dtrace_enable_probe_ftype* gdbarch::dtrace_enable_probe = nullptr

Definition at line 225 of file gdbarch.c.

◆ dtrace_parse_probe_argument

gdbarch_dtrace_parse_probe_argument_ftype* gdbarch::dtrace_parse_probe_argument = nullptr

Definition at line 223 of file gdbarch.c.

◆ dtrace_probe_is_enabled

gdbarch_dtrace_probe_is_enabled_ftype* gdbarch::dtrace_probe_is_enabled = nullptr

Definition at line 224 of file gdbarch.c.

◆ dummy_id

Definition at line 93 of file gdbarch.c.

◆ dump_tdep

gdbarch_dump_tdep_ftype* gdbarch::dump_tdep = nullptr

Definition at line 49 of file gdbarch.c.

Referenced by gdbarch_find_by_info().

◆ dwarf2_addr_size

int gdbarch::dwarf2_addr_size = 0

Definition at line 70 of file gdbarch.c.

◆ dwarf2_omit_typedef_p

Definition at line 117 of file gdbarch.c.

◆ dwarf2_reg_to_regnum

gdbarch_dwarf2_reg_to_regnum_ftype* gdbarch::dwarf2_reg_to_regnum = no_op_reg_to_regnum

Definition at line 90 of file gdbarch.c.

◆ ecoff_reg_to_regnum

gdbarch_ecoff_reg_to_regnum_ftype* gdbarch::ecoff_reg_to_regnum = no_op_reg_to_regnum

Definition at line 88 of file gdbarch.c.

◆ elf_make_msymbol_special

gdbarch_elf_make_msymbol_special_ftype* gdbarch::elf_make_msymbol_special = nullptr

Definition at line 161 of file gdbarch.c.

◆ end

gdbarch.end

Definition at line 81 of file gdbarch.py.

◆ execute_dwarf_cfa_vendor_op

Definition at line 170 of file gdbarch.c.

◆ f

gdbarch.f

Definition at line 81 of file gdbarch.py.

◆ fast_tracepoint_valid_at

Definition at line 230 of file gdbarch.c.

◆ fetch_pointer_argument

gdbarch_fetch_pointer_argument_ftype* gdbarch::fetch_pointer_argument = nullptr

Definition at line 173 of file gdbarch.c.

◆ fetch_tls_load_module_address

gdbarch_fetch_tls_load_module_address_ftype* gdbarch::fetch_tls_load_module_address = nullptr

Definition at line 134 of file gdbarch.c.

◆ file

gdbarch.file

Definition at line 52 of file gdbarch.py.

◆ fill_memtag_section

gdbarch_fill_memtag_section_ftype* gdbarch::fill_memtag_section = nullptr

Definition at line 178 of file gdbarch.c.

◆ find_memory_regions

gdbarch_find_memory_regions_ftype* gdbarch::find_memory_regions = nullptr

Definition at line 176 of file gdbarch.c.

◆ float_bit

int gdbarch::float_bit = 4*TARGET_CHAR_BIT

Definition at line 59 of file gdbarch.c.

◆ float_format

const struct floatformat** gdbarch::float_format = floatformats_ieee_single

Definition at line 60 of file gdbarch.c.

◆ floatformat_for_type

Definition at line 67 of file gdbarch.c.

◆ fp0_regnum

int gdbarch::fp0_regnum = -1

Definition at line 86 of file gdbarch.c.

◆ frame_align

gdbarch_frame_align_ftype* gdbarch::frame_align = nullptr

Definition at line 140 of file gdbarch.c.

◆ frame_args_skip

CORE_ADDR gdbarch::frame_args_skip = 0

Definition at line 136 of file gdbarch.c.

◆ frame_num_args

gdbarch_frame_num_args_ftype* gdbarch::frame_num_args = nullptr

Definition at line 139 of file gdbarch.c.

◆ frame_red_zone_size

int gdbarch::frame_red_zone_size = 0

Definition at line 142 of file gdbarch.c.

◆ ftype_name

str gdbarch.ftype_name = f"gdbarch_{c.name}_ftype"

Definition at line 340 of file gdbarch.py.

◆ gcc_target_options

Definition at line 250 of file gdbarch.c.

◆ gcore_bfd_target

const char* gdbarch::gcore_bfd_target = 0

Definition at line 186 of file gdbarch.c.

◆ gdb_signal_from_target

gdbarch_gdb_signal_from_target_ftype* gdbarch::gdb_signal_from_target = nullptr

Definition at line 205 of file gdbarch.c.

◆ gdb_signal_to_target

gdbarch_gdb_signal_to_target_ftype* gdbarch::gdb_signal_to_target = nullptr

Definition at line 206 of file gdbarch.c.

◆ gen_return_address

Definition at line 236 of file gdbarch.c.

◆ get_longjmp_target

gdbarch_get_longjmp_target_ftype* gdbarch::get_longjmp_target = nullptr

Definition at line 105 of file gdbarch.c.

◆ get_memtag

Definition at line 150 of file gdbarch.c.

◆ get_pc_address_flags

Definition at line 257 of file gdbarch.c.

◆ get_return_buf_addr

Definition at line 116 of file gdbarch.c.

◆ get_siginfo_type

gdbarch_get_siginfo_type_ftype* gdbarch::get_siginfo_type = nullptr

Definition at line 207 of file gdbarch.c.

◆ get_syscall_number

gdbarch_get_syscall_number_ftype* gdbarch::get_syscall_number = nullptr

Definition at line 209 of file gdbarch.c.

◆ get_thread_local_address

gdbarch_get_thread_local_address_ftype* gdbarch::get_thread_local_address = nullptr

Definition at line 135 of file gdbarch.c.

◆ gnu_triplet_regexp

Definition at line 251 of file gdbarch.c.

◆ guess_tracepoint_registers

Definition at line 231 of file gdbarch.c.

◆ half_bit

int gdbarch::half_bit = 2*TARGET_CHAR_BIT

Definition at line 57 of file gdbarch.c.

◆ half_format

const struct floatformat** gdbarch::half_format = floatformats_ieee_half

Definition at line 58 of file gdbarch.c.

◆ has_dos_based_file_system

int gdbarch::has_dos_based_file_system = 0

Definition at line 235 of file gdbarch.c.

◆ has_global_breakpoints

int gdbarch::has_global_breakpoints = 0

Definition at line 228 of file gdbarch.c.

◆ has_global_solist

int gdbarch::has_global_solist = 0

Definition at line 227 of file gdbarch.c.

◆ has_shared_address_space

Definition at line 229 of file gdbarch.c.

◆ have_nonsteppable_watchpoint

int gdbarch::have_nonsteppable_watchpoint = 0

Definition at line 167 of file gdbarch.c.

◆ in_indirect_branch_thunk

Definition at line 159 of file gdbarch.c.

◆ in_solib_return_trampoline

Definition at line 158 of file gdbarch.c.

◆ indent_columns

gdbarch.indent_columns = len(f"{setter_name} (")

Definition at line 342 of file gdbarch.py.

◆ infcall_mmap

Definition at line 248 of file gdbarch.c.

◆ infcall_munmap

Definition at line 249 of file gdbarch.c.

◆ info_proc

gdbarch_info_proc_ftype* gdbarch::info_proc = nullptr

Definition at line 237 of file gdbarch.c.

◆ init_value

str gdbarch.init_value = c.predefault or "0"

Definition at line 212 of file gdbarch.py.

◆ initialized_p

bool gdbarch::initialized_p = false

Definition at line 33 of file gdbarch.c.

Referenced by gdbarch_find_by_info(), gdbarch_free(), and set_target_gdbarch().

◆ inner_than

gdbarch_inner_than_ftype* gdbarch::inner_than = nullptr

Definition at line 123 of file gdbarch.c.

◆ insn_is_call

Definition at line 241 of file gdbarch.c.

◆ insn_is_jump

Definition at line 243 of file gdbarch.c.

◆ insn_is_ret

Definition at line 242 of file gdbarch.c.

◆ int_bit

int gdbarch::int_bit = 4*TARGET_CHAR_BIT

Definition at line 52 of file gdbarch.c.

◆ integer_to_address

gdbarch_integer_to_address_ftype* gdbarch::integer_to_address = nullptr

Definition at line 113 of file gdbarch.c.

◆ iterate_over_objfiles_in_search_order

Definition at line 239 of file gdbarch.c.

◆ iterate_over_regset_sections

gdbarch_iterate_over_regset_sections_ftype* gdbarch::iterate_over_regset_sections = nullptr

Definition at line 174 of file gdbarch.c.

◆ long_bit

int gdbarch::long_bit = 4*TARGET_CHAR_BIT

Definition at line 53 of file gdbarch.c.

◆ long_double_bit

int gdbarch::long_double_bit = 8*TARGET_CHAR_BIT

Definition at line 63 of file gdbarch.c.

◆ long_double_format

const struct floatformat** gdbarch::long_double_format = floatformats_ieee_double

Definition at line 64 of file gdbarch.c.

◆ long_long_bit

int gdbarch::long_long_bit = 2*4*TARGET_CHAR_BIT

Definition at line 54 of file gdbarch.c.

◆ make_corefile_notes

gdbarch_make_corefile_notes_ftype* gdbarch::make_corefile_notes = nullptr

Definition at line 175 of file gdbarch.c.

◆ make_symbol_special

Definition at line 163 of file gdbarch.c.

◆ max_insn_length

ULONGEST gdbarch::max_insn_length = 0

Definition at line 190 of file gdbarch.c.

◆ memory_insert_breakpoint

Definition at line 129 of file gdbarch.c.

◆ memory_remove_breakpoint

Definition at line 130 of file gdbarch.c.

◆ memtag_granule_size

CORE_ADDR gdbarch::memtag_granule_size = 0

Definition at line 151 of file gdbarch.c.

◆ memtag_matches_p

Definition at line 148 of file gdbarch.c.

◆ memtag_to_string

Definition at line 146 of file gdbarch.c.

◆ num_pseudo_regs

int gdbarch::num_pseudo_regs = 0

Definition at line 79 of file gdbarch.c.

◆ num_regs

int gdbarch::num_regs = -1

Definition at line 78 of file gdbarch.c.

◆ obstack

auto_obstack gdbarch::obstack

Definition at line 36 of file gdbarch.c.

Referenced by gdbarch_obstack(), and gdbarch_obstack_strdup().

◆ osabi

enum gdb_osabi gdbarch::osabi

Definition at line 44 of file gdbarch.c.

◆ overlay_update

gdbarch_overlay_update_ftype* gdbarch::overlay_update = nullptr

Definition at line 200 of file gdbarch.c.

◆ pc_regnum

int gdbarch::pc_regnum = -1

Definition at line 84 of file gdbarch.c.

◆ pointer_to_address

Definition at line 111 of file gdbarch.c.

◆ print_auxv_entry

Definition at line 246 of file gdbarch.c.

◆ print_float_info

Definition at line 100 of file gdbarch.c.

◆ print_insn

Definition at line 154 of file gdbarch.c.

◆ print_registers_info

Definition at line 99 of file gdbarch.c.

◆ print_vector_info

gdbarch_print_vector_info_ftype* gdbarch::print_vector_info = nullptr

Definition at line 101 of file gdbarch.c.

◆ printer [1/2]

str gdbarch.printer = c.printer

◆ printer [2/2]

str gdbarch.printer = f"core_addr_to_string_nz (gdbarch->{c.name})"

◆ process_record

gdbarch_process_record_ftype* gdbarch::process_record = nullptr

Definition at line 203 of file gdbarch.c.

◆ process_record_signal

gdbarch_process_record_signal_ftype* gdbarch::process_record_signal = nullptr

Definition at line 204 of file gdbarch.c.

◆ program_breakpoint_here_p

Definition at line 244 of file gdbarch.c.

◆ ps_regnum

int gdbarch::ps_regnum = -1

Definition at line 85 of file gdbarch.c.

◆ pseudo_register_read

gdbarch_pseudo_register_read_ftype* gdbarch::pseudo_register_read = nullptr

Definition at line 75 of file gdbarch.c.

◆ pseudo_register_read_value

gdbarch_pseudo_register_read_value_ftype* gdbarch::pseudo_register_read_value = nullptr

Definition at line 76 of file gdbarch.c.

◆ pseudo_register_write

gdbarch_pseudo_register_write_ftype* gdbarch::pseudo_register_write = nullptr

Definition at line 77 of file gdbarch.c.

◆ ptr_bit

int gdbarch::ptr_bit = 4*TARGET_CHAR_BIT

Definition at line 68 of file gdbarch.c.

◆ push_dummy_call

gdbarch_push_dummy_call_ftype* gdbarch::push_dummy_call = nullptr

Definition at line 95 of file gdbarch.c.

◆ push_dummy_code

gdbarch_push_dummy_code_ftype* gdbarch::push_dummy_code = nullptr

Definition at line 97 of file gdbarch.c.

◆ ravenscar_ops

struct ravenscar_arch_ops* gdbarch::ravenscar_ops = NULL

Definition at line 240 of file gdbarch.c.

◆ read_core_file_mappings

Definition at line 258 of file gdbarch.c.

◆ read_pc

gdbarch_read_pc_ftype* gdbarch::read_pc = nullptr

Definition at line 72 of file gdbarch.c.

◆ record_special_symbol

gdbarch_record_special_symbol_ftype* gdbarch::record_special_symbol = nullptr

Definition at line 208 of file gdbarch.c.

◆ register_name

gdbarch_register_name_ftype* gdbarch::register_name = nullptr

Definition at line 91 of file gdbarch.c.

◆ register_reggroup_p

Definition at line 172 of file gdbarch.c.

◆ register_sim_regno

Definition at line 102 of file gdbarch.c.

◆ register_to_value

gdbarch_register_to_value_ftype* gdbarch::register_to_value = nullptr

Definition at line 108 of file gdbarch.c.

◆ register_type

gdbarch_register_type_ftype* gdbarch::register_type = nullptr

Definition at line 92 of file gdbarch.c.

◆ registry_fields

registry<gdbarch> gdbarch::registry_fields

Definition at line 38 of file gdbarch.c.

Referenced by registry_accessor< gdbarch >::get().

◆ relocate_instruction

gdbarch_relocate_instruction_ftype* gdbarch::relocate_instruction = NULL

Definition at line 199 of file gdbarch.c.

◆ remote_register_number

Definition at line 133 of file gdbarch.c.

◆ remove_non_address_bits

Definition at line 145 of file gdbarch.c.

◆ report_signal_info

gdbarch_report_signal_info_ftype* gdbarch::report_signal_info = nullptr

Definition at line 82 of file gdbarch.c.

◆ return_in_first_hidden_param_p

Definition at line 119 of file gdbarch.c.

◆ return_value

gdbarch_return_value_ftype* gdbarch::return_value = nullptr

Definition at line 114 of file gdbarch.c.

◆ return_value_as_value

Definition at line 115 of file gdbarch.c.

◆ sdb_reg_to_regnum

Definition at line 89 of file gdbarch.c.

◆ set_memtags

Definition at line 149 of file gdbarch.c.

◆ setter_name

str gdbarch.setter_name = f"set_gdbarch_{c.name}"

Definition at line 339 of file gdbarch.py.

◆ short_bit

int gdbarch::short_bit = 2*TARGET_CHAR_BIT

Definition at line 51 of file gdbarch.c.

◆ single_step_through_delay

gdbarch_single_step_through_delay_ftype* gdbarch::single_step_through_delay = nullptr

Definition at line 153 of file gdbarch.c.

◆ skip_entrypoint

gdbarch_skip_entrypoint_ftype* gdbarch::skip_entrypoint = nullptr

Definition at line 122 of file gdbarch.c.

◆ skip_main_prologue

gdbarch_skip_main_prologue_ftype* gdbarch::skip_main_prologue = nullptr

Definition at line 121 of file gdbarch.c.

◆ skip_permanent_breakpoint

Definition at line 189 of file gdbarch.c.

◆ skip_prologue

gdbarch_skip_prologue_ftype* gdbarch::skip_prologue = nullptr

Definition at line 120 of file gdbarch.c.

◆ skip_solib_resolver

Definition at line 157 of file gdbarch.c.

◆ skip_trampoline_code

Definition at line 155 of file gdbarch.c.

◆ so_ops

const struct target_so_ops* gdbarch::so_ops = &solib_target_so_ops

Definition at line 156 of file gdbarch.c.

◆ software_single_step

gdbarch_software_single_step_ftype* gdbarch::software_single_step = nullptr

Definition at line 152 of file gdbarch.c.

◆ sofun_address_maybe_missing

int gdbarch::sofun_address_maybe_missing = 0

Definition at line 202 of file gdbarch.c.

◆ solib_symbols_extension

const char* gdbarch::solib_symbols_extension = 0

Definition at line 234 of file gdbarch.c.

◆ sp_regnum

int gdbarch::sp_regnum = -1

Definition at line 83 of file gdbarch.c.

◆ stab_reg_to_regnum

gdbarch_stab_reg_to_regnum_ftype* gdbarch::stab_reg_to_regnum = no_op_reg_to_regnum

Definition at line 87 of file gdbarch.c.

◆ stabs_argument_has_addr

Definition at line 141 of file gdbarch.c.

◆ stack_frame_destroyed_p

Definition at line 160 of file gdbarch.c.

◆ stap_adjust_register

gdbarch_stap_adjust_register_ftype* gdbarch::stap_adjust_register = nullptr

Definition at line 222 of file gdbarch.c.

◆ stap_gdb_register_prefix

const char* gdbarch::stap_gdb_register_prefix = 0

Definition at line 218 of file gdbarch.c.

◆ stap_gdb_register_suffix

const char* gdbarch::stap_gdb_register_suffix = 0

Definition at line 219 of file gdbarch.c.

◆ stap_integer_prefixes

const char* const* gdbarch::stap_integer_prefixes = 0

Definition at line 212 of file gdbarch.c.

◆ stap_integer_suffixes

const char* const* gdbarch::stap_integer_suffixes = 0

Definition at line 213 of file gdbarch.c.

◆ stap_is_single_operand

gdbarch_stap_is_single_operand_ftype* gdbarch::stap_is_single_operand = nullptr

Definition at line 220 of file gdbarch.c.

◆ stap_parse_special_token

gdbarch_stap_parse_special_token_ftype* gdbarch::stap_parse_special_token = nullptr

Definition at line 221 of file gdbarch.c.

◆ stap_register_indirection_prefixes

const char* const* gdbarch::stap_register_indirection_prefixes = 0

Definition at line 216 of file gdbarch.c.

◆ stap_register_indirection_suffixes

const char* const* gdbarch::stap_register_indirection_suffixes = 0

Definition at line 217 of file gdbarch.c.

◆ stap_register_prefixes

const char* const* gdbarch::stap_register_prefixes = 0

Definition at line 214 of file gdbarch.c.

◆ stap_register_suffixes

const char* const* gdbarch::stap_register_suffixes = 0

Definition at line 215 of file gdbarch.c.

◆ sw_breakpoint_from_kind

gdbarch_sw_breakpoint_from_kind_ftype* gdbarch::sw_breakpoint_from_kind = NULL

Definition at line 126 of file gdbarch.c.

◆ syscalls_info

struct syscalls_info* gdbarch::syscalls_info = 0

Definition at line 211 of file gdbarch.c.

◆ tagged_address_p

Definition at line 147 of file gdbarch.c.

◆ target_desc

const struct target_desc* gdbarch::target_desc

Definition at line 45 of file gdbarch.c.

◆ tdep

gdbarch_tdep_up gdbarch::tdep

Definition at line 48 of file gdbarch.c.

◆ type_align

Definition at line 256 of file gdbarch.c.

◆ unwind_pc

Definition at line 137 of file gdbarch.c.

◆ unwind_sp

Definition at line 138 of file gdbarch.c.

◆ update_call_site_pc

Definition at line 118 of file gdbarch.c.

◆ use_target_description_from_corefile_notes

Definition at line 259 of file gdbarch.c.

◆ valid_disassembler_options

const disasm_options_and_args_t* gdbarch::valid_disassembler_options = 0

Definition at line 255 of file gdbarch.c.

◆ value_from_register

Definition at line 110 of file gdbarch.c.

◆ value_to_register

gdbarch_value_to_register_ftype* gdbarch::value_to_register = nullptr

Definition at line 109 of file gdbarch.c.

◆ vbit_in_delta

int gdbarch::vbit_in_delta = 0

Definition at line 188 of file gdbarch.c.

◆ virtual_frame_pointer

Definition at line 74 of file gdbarch.c.

◆ vsyscall_range

Definition at line 247 of file gdbarch.c.

◆ vtable_function_descriptors

int gdbarch::vtable_function_descriptors = 0

Definition at line 187 of file gdbarch.c.

◆ wchar_bit

int gdbarch::wchar_bit = 4*TARGET_CHAR_BIT

Definition at line 65 of file gdbarch.c.

◆ wchar_signed

int gdbarch::wchar_signed = -1

Definition at line 66 of file gdbarch.c.

◆ write_pc

gdbarch_write_pc_ftype* gdbarch::write_pc = nullptr

Definition at line 73 of file gdbarch.c.

◆ xml_syscall_file

const char* gdbarch::xml_syscall_file = 0

Definition at line 210 of file gdbarch.c.


The documentation for this struct was generated from the following files: