GDB (API)
Classes | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/mips-tdep.h File Reference
#include "objfiles.h"

Go to the source code of this file.

Classes

struct  mips_regnum
struct  gdbarch_tdep

Enumerations

enum  mips_abi {
  MIPS_ABI_UNKNOWN = 0, MIPS_ABI_N32, MIPS_ABI_O32, MIPS_ABI_N64,
  MIPS_ABI_O64, MIPS_ABI_EABI32, MIPS_ABI_EABI64, MIPS_ABI_LAST
}
enum  mips_isa { ISA_MIPS = -1, ISA_MIPS16, ISA_MICROMIPS }
enum  mips_fpu_type { MIPS_FPU_DOUBLE, MIPS_FPU_SINGLE, MIPS_FPU_NONE }
enum  {
  MIPS_ZERO_REGNUM = 0, MIPS_AT_REGNUM = 1, MIPS_V0_REGNUM = 2, MIPS_A0_REGNUM = 4,
  MIPS_S2_REGNUM = 18, MIPS_T9_REGNUM = 25, MIPS_GP_REGNUM = 28, MIPS_SP_REGNUM = 29,
  MIPS_RA_REGNUM = 31, MIPS_PS_REGNUM = 32, MIPS_EMBED_LO_REGNUM = 33, MIPS_EMBED_HI_REGNUM = 34,
  MIPS_EMBED_BADVADDR_REGNUM = 35, MIPS_EMBED_CAUSE_REGNUM = 36, MIPS_EMBED_PC_REGNUM = 37, MIPS_EMBED_FP0_REGNUM = 38,
  MIPS_UNUSED_REGNUM = 73, MIPS_FIRST_EMBED_REGNUM = 74, MIPS_PRID_REGNUM = 89, MIPS_LAST_EMBED_REGNUM = 89
}
enum  { MIPS_INSN16_SIZE = 2, MIPS_INSN32_SIZE = 4, MIPS_NUMREGS = 32 }

Functions

enum mips_abi mips_abi (struct gdbarch *gdbarch)
int mips_isa_regsize (struct gdbarch *gdbarch)
struct mips_regnummips_regnum (struct gdbarch *gdbarch)
void deprecated_mips_set_processor_regs_hack (void)
int mips_software_single_step (struct frame_info *frame)
int mips_pc_is_mips (bfd_vma memaddr)
int mips_pc_is_mips16 (struct gdbarch *gdbarch, bfd_vma memaddr)
int mips_pc_is_micromips (struct gdbarch *gdbarch, bfd_vma memaddr)
unsigned int mips_abi_regsize (struct gdbarch *gdbarch)
void mips_write_pc (struct regcache *regcache, CORE_ADDR pc)

Variables

struct target_desc * mips_tdesc_gp32
struct target_desc * mips_tdesc_gp64

Enumeration Type Documentation

anonymous enum
Enumerator:
MIPS_ZERO_REGNUM 
MIPS_AT_REGNUM 
MIPS_V0_REGNUM 
MIPS_A0_REGNUM 
MIPS_S2_REGNUM 
MIPS_T9_REGNUM 
MIPS_GP_REGNUM 
MIPS_SP_REGNUM 
MIPS_RA_REGNUM 
MIPS_PS_REGNUM 
MIPS_EMBED_LO_REGNUM 
MIPS_EMBED_HI_REGNUM 
MIPS_EMBED_BADVADDR_REGNUM 
MIPS_EMBED_CAUSE_REGNUM 
MIPS_EMBED_PC_REGNUM 
MIPS_EMBED_FP0_REGNUM 
MIPS_UNUSED_REGNUM 
MIPS_FIRST_EMBED_REGNUM 
MIPS_PRID_REGNUM 
MIPS_LAST_EMBED_REGNUM 

Definition at line 127 of file mips-tdep.h.

anonymous enum
Enumerator:
MIPS_INSN16_SIZE 
MIPS_INSN32_SIZE 
MIPS_NUMREGS 

Definition at line 155 of file mips-tdep.h.

enum mips_abi
Enumerator:
MIPS_ABI_UNKNOWN 
MIPS_ABI_N32 
MIPS_ABI_O32 
MIPS_ABI_N64 
MIPS_ABI_O64 
MIPS_ABI_EABI32 
MIPS_ABI_EABI64 
MIPS_ABI_LAST 

Definition at line 28 of file mips-tdep.h.

Enumerator:
MIPS_FPU_DOUBLE 
MIPS_FPU_SINGLE 
MIPS_FPU_NONE 

Definition at line 74 of file mips-tdep.h.

enum mips_isa
Enumerator:
ISA_MIPS 
ISA_MIPS16 
ISA_MICROMIPS 

Definition at line 44 of file mips-tdep.h.


Function Documentation

Definition at line 6751 of file mips-tdep.c.

enum mips_abi mips_abi ( struct gdbarch *  gdbarch)

Definition at line 228 of file mips-tdep.c.

unsigned int mips_abi_regsize ( struct gdbarch *  gdbarch)

Definition at line 250 of file mips-tdep.c.

int mips_isa_regsize ( struct gdbarch *  gdbarch)

Definition at line 234 of file mips-tdep.c.

int mips_pc_is_micromips ( struct gdbarch *  gdbarch,
bfd_vma  memaddr 
)

Definition at line 1158 of file mips-tdep.c.

int mips_pc_is_mips ( bfd_vma  memaddr)

Definition at line 1122 of file mips-tdep.c.

int mips_pc_is_mips16 ( struct gdbarch *  gdbarch,
bfd_vma  memaddr 
)

Definition at line 1140 of file mips-tdep.c.

struct mips_regnum* mips_regnum ( struct gdbarch *  gdbarch) [read]

Definition at line 191 of file mips-tdep.c.

int mips_software_single_step ( struct frame_info *  frame)

Definition at line 3969 of file mips-tdep.c.

void mips_write_pc ( struct regcache *  regcache,
CORE_ADDR  pc 
)

Definition at line 1317 of file mips-tdep.c.


Variable Documentation

struct target_desc* mips_tdesc_gp32

Definition at line 187 of file mips-tdep.c.

struct target_desc* mips_tdesc_gp64

Definition at line 188 of file mips-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines