GDB (API)
Classes | Defines | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/s390-tdep.c File Reference
#include "defs.h"
#include "arch-utils.h"
#include "frame.h"
#include "inferior.h"
#include "symtab.h"
#include "target.h"
#include "gdbcore.h"
#include "gdbcmd.h"
#include "objfiles.h"
#include "floatformat.h"
#include "regcache.h"
#include "trad-frame.h"
#include "frame-base.h"
#include "frame-unwind.h"
#include "dwarf2-frame.h"
#include "reggroups.h"
#include "regset.h"
#include "value.h"
#include "gdb_assert.h"
#include "dis-asm.h"
#include "solib-svr4.h"
#include "prologue-value.h"
#include "linux-tdep.h"
#include "s390-tdep.h"
#include "auxv.h"
#include "stap-probe.h"
#include "ax.h"
#include "ax-gdb.h"
#include "user-regs.h"
#include "cli/cli-utils.h"
#include <ctype.h>
#include "elf/common.h"
#include "features/s390-linux32.c"
#include "features/s390-linux32v1.c"
#include "features/s390-linux32v2.c"
#include "features/s390-linux64.c"
#include "features/s390-linux64v1.c"
#include "features/s390-linux64v2.c"
#include "features/s390-te-linux64.c"
#include "features/s390x-linux64.c"
#include "features/s390x-linux64v1.c"
#include "features/s390x-linux64v2.c"
#include "features/s390x-te-linux64.c"

Go to the source code of this file.

Classes

struct  gdbarch_tdep

Defines

#define S390_MAX_INSTR_SIZE   6
#define S390_NUM_GPRS   16
#define S390_NUM_FPRS   16

Enumerations

enum  {
  op1_lhi = 0xa7, op2_lhi = 0x08, op1_lghi = 0xa7, op2_lghi = 0x09,
  op1_lgfi = 0xc0, op2_lgfi = 0x01, op_lr = 0x18, op_lgr = 0xb904,
  op_l = 0x58, op1_ly = 0xe3, op2_ly = 0x58, op1_lg = 0xe3,
  op2_lg = 0x04, op_lm = 0x98, op1_lmy = 0xeb, op2_lmy = 0x98,
  op1_lmg = 0xeb, op2_lmg = 0x04, op_st = 0x50, op1_sty = 0xe3,
  op2_sty = 0x50, op1_stg = 0xe3, op2_stg = 0x24, op_std = 0x60,
  op_stm = 0x90, op1_stmy = 0xeb, op2_stmy = 0x90, op1_stmg = 0xeb,
  op2_stmg = 0x24, op1_aghi = 0xa7, op2_aghi = 0x0b, op1_ahi = 0xa7,
  op2_ahi = 0x0a, op1_agfi = 0xc2, op2_agfi = 0x08, op1_afi = 0xc2,
  op2_afi = 0x09, op1_algfi = 0xc2, op2_algfi = 0x0a, op1_alfi = 0xc2,
  op2_alfi = 0x0b, op_ar = 0x1a, op_agr = 0xb908, op_a = 0x5a,
  op1_ay = 0xe3, op2_ay = 0x5a, op1_ag = 0xe3, op2_ag = 0x08,
  op1_slgfi = 0xc2, op2_slgfi = 0x04, op1_slfi = 0xc2, op2_slfi = 0x05,
  op_sr = 0x1b, op_sgr = 0xb909, op_s = 0x5b, op1_sy = 0xe3,
  op2_sy = 0x5b, op1_sg = 0xe3, op2_sg = 0x09, op_nr = 0x14,
  op_ngr = 0xb980, op_la = 0x41, op1_lay = 0xe3, op2_lay = 0x71,
  op1_larl = 0xc0, op2_larl = 0x00, op_basr = 0x0d, op_bas = 0x4d,
  op_bcr = 0x07, op_bc = 0x0d, op_bctr = 0x06, op_bctgr = 0xb946,
  op_bct = 0x46, op1_bctg = 0xe3, op2_bctg = 0x46, op_bxh = 0x86,
  op1_bxhg = 0xeb, op2_bxhg = 0x44, op_bxle = 0x87, op1_bxleg = 0xeb,
  op2_bxleg = 0x45, op1_bras = 0xa7, op2_bras = 0x05, op1_brasl = 0xc0,
  op2_brasl = 0x05, op1_brc = 0xa7, op2_brc = 0x04, op1_brcl = 0xc0,
  op2_brcl = 0x04, op1_brct = 0xa7, op2_brct = 0x06, op1_brctg = 0xa7,
  op2_brctg = 0x07, op_brxh = 0x84, op1_brxhg = 0xec, op2_brxhg = 0x44,
  op_brxle = 0x85, op1_brxlg = 0xec, op2_brxlg = 0x45
}

Functions

void _initialize_s390_tdep (void)

Variables

const short s390_regmap_gregset []
const short s390x_regmap_gregset []
const short s390_regmap_fpregset []
const short s390_regmap_upper []
const short s390_regmap_last_break []
const short s390x_regmap_last_break []
const short s390_regmap_system_call []
const short s390_regmap_tdb []
initialize_file_ftype _initialize_s390_tdep

Define Documentation

#define S390_MAX_INSTR_SIZE   6

Definition at line 913 of file s390-tdep.c.

#define S390_NUM_FPRS   16

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

#define S390_NUM_GPRS   16

Definition at line 1121 of file s390-tdep.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
op1_lhi 
op2_lhi 
op1_lghi 
op2_lghi 
op1_lgfi 
op2_lgfi 
op_lr 
op_lgr 
op_l 
op1_ly 
op2_ly 
op1_lg 
op2_lg 
op_lm 
op1_lmy 
op2_lmy 
op1_lmg 
op2_lmg 
op_st 
op1_sty 
op2_sty 
op1_stg 
op2_stg 
op_std 
op_stm 
op1_stmy 
op2_stmy 
op1_stmg 
op2_stmg 
op1_aghi 
op2_aghi 
op1_ahi 
op2_ahi 
op1_agfi 
op2_agfi 
op1_afi 
op2_afi 
op1_algfi 
op2_algfi 
op1_alfi 
op2_alfi 
op_ar 
op_agr 
op_a 
op1_ay 
op2_ay 
op1_ag 
op2_ag 
op1_slgfi 
op2_slgfi 
op1_slfi 
op2_slfi 
op_sr 
op_sgr 
op_s 
op1_sy 
op2_sy 
op1_sg 
op2_sg 
op_nr 
op_ngr 
op_la 
op1_lay 
op2_lay 
op1_larl 
op2_larl 
op_basr 
op_bas 
op_bcr 
op_bc 
op_bctr 
op_bctgr 
op_bct 
op1_bctg 
op2_bctg 
op_bxh 
op1_bxhg 
op2_bxhg 
op_bxle 
op1_bxleg 
op2_bxleg 
op1_bras 
op2_bras 
op1_brasl 
op2_brasl 
op1_brc 
op2_brc 
op1_brcl 
op2_brcl 
op1_brct 
op2_brct 
op1_brctg 
op2_brctg 
op_brxh 
op1_brxhg 
op2_brxhg 
op_brxle 
op1_brxlg 
op2_brxlg 

Definition at line 843 of file s390-tdep.c.


Function Documentation

void _initialize_s390_tdep ( void  )

Definition at line 3373 of file s390-tdep.c.


Variable Documentation

Initial value:

Definition at line 514 of file s390-tdep.c.

Definition at line 418 of file s390-tdep.c.

Initial value:
  {
    0x04, S390_LAST_BREAK_REGNUM,
    -1, -1
  }

Definition at line 557 of file s390-tdep.c.

Initial value:
  {
    0x00, S390_SYSTEM_CALL_REGNUM,
    -1, -1
  }

Definition at line 569 of file s390-tdep.c.

Definition at line 458 of file s390-tdep.c.

Initial value:
  {
    0x00, S390_LAST_BREAK_REGNUM,
    -1, -1
  }

Definition at line 563 of file s390-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines