GDB (xrefs)
Classes | Macros | Enumerations | Functions | Variables
/tmp/gdb-7.10/gdb/mips-tdep.h File Reference
#include "objfiles.h"

Go to the source code of this file.

Classes

struct  mips_regnum
 
struct  gdbarch_tdep
 

Macros

#define MSYMBOL_TARGET_FLAG_MIPS16   MSYMBOL_TARGET_FLAG_1
 
#define MSYMBOL_TARGET_FLAG_MICROMIPS   MSYMBOL_TARGET_FLAG_2
 

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)
 
const struct mips_regnummips_regnum (struct gdbarch *gdbarch)
 
void deprecated_mips_set_processor_regs_hack (void)
 
int mips_software_single_step (struct frame_info *frame)
 
CORE_ADDR mips_unmake_compact_addr (CORE_ADDR addr)
 
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)
 
static int in_mips_stubs_section (CORE_ADDR pc)
 

Variables

struct target_descmips_tdesc_gp32
 
struct target_descmips_tdesc_gp64
 

Macro Definition Documentation

#define MSYMBOL_TARGET_FLAG_MICROMIPS   MSYMBOL_TARGET_FLAG_2
#define MSYMBOL_TARGET_FLAG_MIPS16   MSYMBOL_TARGET_FLAG_1

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

Referenced by mips_elf_make_msymbol_special(), msymbol_is_mips(), and msymbol_is_mips16().

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 123 of file mips-tdep.h.

anonymous enum
Enumerator
MIPS_INSN16_SIZE 
MIPS_INSN32_SIZE 
MIPS_NUMREGS 

Definition at line 151 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 78 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

void deprecated_mips_set_processor_regs_hack ( void  )
static int in_mips_stubs_section ( CORE_ADDR  pc)
inlinestatic

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

References pc_in_section().

Referenced by mips_linux_in_dynsym_stub(), and mips_stub_frame_sniffer().

enum mips_abi mips_abi ( struct gdbarch gdbarch)

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

References gdbarch_tdep(), and gdbarch_tdep::mips_abi.

Referenced by mips_gdbarch_init(), mips_register_name(), and show_mips_abi().

unsigned int mips_abi_regsize ( struct gdbarch gdbarch)
int mips_isa_regsize ( struct gdbarch gdbarch)
int mips_pc_is_micromips ( struct gdbarch gdbarch,
bfd_vma  memaddr 
)
int mips_pc_is_mips ( bfd_vma  memaddr)
int mips_pc_is_mips16 ( struct gdbarch gdbarch,
bfd_vma  memaddr 
)
const struct mips_regnum* mips_regnum ( struct gdbarch gdbarch)
int mips_software_single_step ( struct frame_info frame)
CORE_ADDR mips_unmake_compact_addr ( CORE_ADDR  addr)

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

References unmake_compact_addr().

Referenced by micromips_linux_sigframe_validate().

void mips_write_pc ( struct regcache regcache,
CORE_ADDR  pc 
)

Variable Documentation

struct target_desc* mips_tdesc_gp32

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

Referenced by mips_linux_core_read_description().

struct target_desc* mips_tdesc_gp64

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

Referenced by mips_linux_core_read_description().