GDB (API)
Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/arch-utils.c File Reference
#include "defs.h"
#include "arch-utils.h"
#include "buildsym.h"
#include "gdbcmd.h"
#include "inferior.h"
#include "gdb_string.h"
#include "regcache.h"
#include "gdb_assert.h"
#include "sim-regno.h"
#include "gdbcore.h"
#include "osabi.h"
#include "target-descriptions.h"
#include "objfiles.h"
#include "language.h"
#include "version.h"
#include "floatformat.h"

Go to the source code of this file.

Enumerations

enum  set_arch { set_arch_auto, set_arch_manual }

Functions

struct displaced_step_closure * simple_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 *gdbarch, struct displaced_step_closure *closure)
CORE_ADDR displaced_step_at_entry_point (struct gdbarch *gdbarch)
int legacy_register_sim_regno (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 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)
CORE_ADDR convert_from_func_ptr_addr_identity (struct gdbarch *gdbarch, CORE_ADDR addr, struct target_ops *targ)
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)
void legacy_virtual_frame_pointer (struct gdbarch *gdbarch, CORE_ADDR pc, int *frame_regnum, LONGEST *frame_offset)
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)
enum bfd_endian selected_byte_order (void)
const char * selected_architecture_name (void)
int gdbarch_update_p (struct gdbarch_info info)
struct gdbarch * gdbarch_from_bfd (bfd *abfd)
void set_gdbarch_from_file (bfd *abfd)
void initialize_current_architecture (void)
void gdbarch_info_init (struct gdbarch_info *info)
void gdbarch_info_fill (struct gdbarch_info *info)
struct gdbarch * get_current_arch (void)
int default_has_shared_address_space (struct gdbarch *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 *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)
int default_return_in_first_hidden_param_p (struct gdbarch *gdbarch, struct type *type)
void _initialize_gdbarch_utils (void)

Variables

initialize_file_ftype _initialize_gdbarch_utils

Enumeration Type Documentation

enum set_arch
Enumerator:
set_arch_auto 
set_arch_manual 

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


Function Documentation

void _initialize_gdbarch_utils ( void  )

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

int cannot_register_not ( struct gdbarch *  gdbarch,
int  regnum 
)

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

CORE_ADDR convert_from_func_ptr_addr_identity ( struct gdbarch *  gdbarch,
CORE_ADDR  addr,
struct target_ops targ 
)

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

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

CORE_ADDR core_addr_identity ( struct gdbarch *  gdbarch,
CORE_ADDR  addr 
)

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

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

void default_coff_make_msymbol_special ( int  val,
struct minimal_symbol msym 
)

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

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

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

void default_elf_make_msymbol_special ( asymbol *  sym,
struct minimal_symbol msym 
)

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

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.

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.

int default_has_shared_address_space ( struct gdbarch *  gdbarch)

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

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

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

int default_remote_register_number ( struct gdbarch *  gdbarch,
int  regno 
)

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

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

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

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

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

CORE_ADDR displaced_step_at_entry_point ( struct gdbarch *  gdbarch)

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

struct gdbarch* gdbarch_from_bfd ( bfd *  abfd) [read]

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

void gdbarch_info_fill ( struct gdbarch_info info)

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

void gdbarch_info_init ( struct gdbarch_info info)

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

int gdbarch_update_p ( struct gdbarch_info  info)

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

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

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

int generic_in_function_epilogue_p ( struct gdbarch *  gdbarch,
CORE_ADDR  pc 
)

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

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

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

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.

CORE_ADDR generic_skip_trampoline_code ( struct frame_info *  frame,
CORE_ADDR  pc 
)

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

struct gdbarch* get_current_arch ( void  ) [read]

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

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

int legacy_register_sim_regno ( struct gdbarch *  gdbarch,
int  regnum 
)

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

void legacy_virtual_frame_pointer ( struct gdbarch *  gdbarch,
CORE_ADDR  pc,
int frame_regnum,
LONGEST frame_offset 
)

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

int no_op_reg_to_regnum ( struct gdbarch *  gdbarch,
int  reg 
)

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

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

enum bfd_endian selected_byte_order ( void  )

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

void set_gdbarch_from_file ( bfd *  abfd)

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

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

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

void simple_displaced_step_free_closure ( struct gdbarch *  gdbarch,
struct displaced_step_closure *  closure 
)

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


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines