GDB (xrefs)
Functions | Variables
/home/stan/gdb/src/gdb/arch-utils.h File Reference

Go to the source code of this file.

Functions

struct displaced_step_closuresimple_displaced_step_copy_insn (struct gdbarch *gdbarch, CORE_ADDR from, CORE_ADDR to, struct regcache *regs)
void simple_displaced_step_free_closure (struct gdbarch *gdbarch, struct displaced_step_closure *closure)
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_elf_make_msymbol_special (asymbol *sym, struct minimal_symbol *msym)
void default_coff_make_msymbol_special (int val, struct minimal_symbol *msym)
int cannot_register_not (struct gdbarch *gdbarch, int regnum)
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_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc)
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 gdbarchgdbarch_from_bfd (bfd *abfd)
struct gdbarchget_current_arch (void)
int default_has_shared_address_space (struct gdbarch *)
int default_fast_tracepoint_valid_at (struct gdbarch *gdbarch, CORE_ADDR addr, int *isize, char **msg)
void default_remote_breakpoint_from_pc (struct gdbarch *, CORE_ADDR *pcptr, int *kindptr)
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 *)

Variables

gdbarch_convert_from_func_ptr_addr_ftype convert_from_func_ptr_addr_identity
gdbarch_virtual_frame_pointer_ftype legacy_virtual_frame_pointer

Function Documentation

int cannot_register_not ( struct gdbarch gdbarch,
int  regnum 
)

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

Referenced by gdbarch_alloc().

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

Referenced by hppa_gdbarch_init(), and xstormy16_gdbarch_init().

CORE_ADDR core_addr_identity ( struct gdbarch gdbarch,
CORE_ADDR  addr 
)

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

Referenced by gdbarch_alloc().

const char* default_auto_charset ( void  )

Definition at line 927 of file charset.c.

References auto_target_charset_name.

Referenced by gdbarch_alloc().

const char* default_auto_wide_charset ( void  )

Definition at line 933 of file charset.c.

References GDB_DEFAULT_TARGET_WIDE_CHARSET.

Referenced by gdbarch_alloc().

void default_coff_make_msymbol_special ( int  val,
struct minimal_symbol msym 
)

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

Referenced by gdbarch_alloc().

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

References gdbarch_software_single_step_p().

Referenced by gdbarch_alloc().

void default_elf_make_msymbol_special ( asymbol *  sym,
struct minimal_symbol msym 
)

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

Referenced by gdbarch_alloc().

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

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

Referenced by gdbarch_alloc().

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

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

References _, and error().

Referenced by gdbarch_alloc().

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

Referenced by gdbarch_alloc().

void default_remote_breakpoint_from_pc ( struct gdbarch ,
CORE_ADDR pcptr,
int kindptr 
)

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

References gdbarch_breakpoint_from_pc().

Referenced by gdbarch_alloc().

int default_remote_register_number ( struct gdbarch gdbarch,
int  regno 
)

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

Referenced by gdbarch_alloc().

int default_return_in_first_hidden_param_p ( struct gdbarch ,
struct type  
)

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

References language_pass_by_reference().

Referenced by gdbarch_alloc().

int default_stabs_argument_has_addr ( struct gdbarch gdbarch,
struct type type 
)

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

Referenced by gdbarch_alloc(), and sparc64_init_abi().

struct gdbarch* gdbarch_from_bfd ( bfd *  abfd) [read]
void gdbarch_info_fill ( struct gdbarch_info info)
void gdbarch_info_init ( struct gdbarch_info info)
int generic_convert_register_p ( struct gdbarch gdbarch,
int  regnum,
struct type type 
)

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

Referenced by gdbarch_alloc().

int generic_in_function_epilogue_p ( struct gdbarch gdbarch,
CORE_ADDR  pc 
)

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

Referenced by gdbarch_alloc().

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

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

Referenced by gdbarch_alloc().

int generic_instruction_nullified ( struct gdbarch gdbarch,
struct regcache regcache 
)

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

CORE_ADDR generic_skip_solib_resolver ( struct gdbarch gdbarch,
CORE_ADDR  pc 
)

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

Referenced by gdbarch_alloc().

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

Referenced by gdbarch_alloc().

struct gdbarch* get_current_arch ( void  ) [read]

Definition at line 755 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_detect_out_scope_cb(), bpfinishpy_handle_stop(), break_command_1(), break_range_command(), catch_ada_exception_command(), catch_assert_command(), catch_exec_command_1(), catch_fork_command_1(), catch_syscall_command_1(), cmdpy_destroyer(), cmdpy_function(), core_info_proc(), create_signal_catchpoint(), create_syscall_event_catchpoint(), create_tracepoint_from_upload(), disassemble_command(), do_one_display(), do_set_command(), dprintf_command(), echo_command(), extract_display_start_addr(), find_command(), ftrace_command(), gdb_CA_to_TAS(), gdb_get_blocks(), gdb_regformat(), gdb_reggroup(), gdb_reggrouplist(), gdb_selected_block(), gdb_selected_frame(), gdb_set_bp(), gdb_update_mem(), gdbpy_breakpoint_has_py_cond(), gdbpy_should_stop(), gdbtk_load_asm(), get_register(), get_register_name(), get_register_size(), get_register_types(), get_set_value(), get_show_value(), handle_gnu_v3_exceptions(), hex2bin(), inferior_call_waitpid(), info_checkpoints_command(), info_probes_for_ops(), info_proc_cmd_1(), jump_command(), line_info(), maint_agent_printf_command(), maintenance_print_architecture(), maintenance_print_reggroups(), map_arg_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_disassemble(), msp430_gdbarch_init(), overlay_load_command(), parse_cmd_to_aexpr(), parse_exp_in_context_1(), py_free_pspace(), python_on_normal_stop(), record_full_restore(), register_changed_p(), set_charset_sfunc(), set_host_charset_sfunc(), set_target_charset_sfunc(), set_target_wide_charset_sfunc(), setup_architecture_data(), show_architecture(), show_convenience(), show_endian(), show_osabi(), show_target_charset_name(), show_target_wide_charset_name(), skip_function_command(), strace_command(), trace_command(), trace_find_line_command(), tui_get_begin_asm_address(), tui_reg_next_command(), and VEC().

int legacy_register_sim_regno ( struct gdbarch gdbarch,
int  regnum 
)
int no_op_reg_to_regnum ( struct gdbarch gdbarch,
int  reg 
)

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

Referenced by gdbarch_alloc().

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

References set_architecture_string, and target_architecture_user.

Referenced by gdbsim_open().

enum bfd_endian selected_byte_order ( void  )

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

References target_byte_order_user.

Referenced by gdbsim_open().

struct displaced_step_closure* simple_displaced_step_copy_insn ( struct gdbarch gdbarch,
CORE_ADDR  from,
CORE_ADDR  to,
struct regcache regs 
) [read]
void simple_displaced_step_free_closure ( struct gdbarch gdbarch,
struct displaced_step_closure closure 
)

Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines