GDB (API)
|
#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 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.
anonymous enum |
Definition at line 843 of file s390-tdep.c.
void _initialize_s390_tdep | ( | void | ) |
Definition at line 3373 of file s390-tdep.c.
const short s390_regmap_fpregset[] |
{ 0x00, S390_FPC_REGNUM, 0x08, S390_F0_REGNUM, 0x10, S390_F1_REGNUM, 0x18, S390_F2_REGNUM, 0x20, S390_F3_REGNUM, 0x28, S390_F4_REGNUM, 0x30, S390_F5_REGNUM, 0x38, S390_F6_REGNUM, 0x40, S390_F7_REGNUM, 0x48, S390_F8_REGNUM, 0x50, S390_F9_REGNUM, 0x58, S390_F10_REGNUM, 0x60, S390_F11_REGNUM, 0x68, S390_F12_REGNUM, 0x70, S390_F13_REGNUM, 0x78, S390_F14_REGNUM, 0x80, S390_F15_REGNUM, -1, -1 }
Definition at line 514 of file s390-tdep.c.
const short s390_regmap_gregset[] |
Definition at line 418 of file s390-tdep.c.
const short s390_regmap_last_break[] |
{ 0x04, S390_LAST_BREAK_REGNUM, -1, -1 }
Definition at line 557 of file s390-tdep.c.
const short s390_regmap_system_call[] |
{ 0x00, S390_SYSTEM_CALL_REGNUM, -1, -1 }
Definition at line 569 of file s390-tdep.c.
const short s390_regmap_tdb[] |
{ 0x00, S390_TDB_DWORD0_REGNUM, 0x08, S390_TDB_ABORT_CODE_REGNUM, 0x10, S390_TDB_CONFLICT_TOKEN_REGNUM, 0x18, S390_TDB_ATIA_REGNUM, 0x80, S390_TDB_R0_REGNUM, 0x88, S390_TDB_R1_REGNUM, 0x90, S390_TDB_R2_REGNUM, 0x98, S390_TDB_R3_REGNUM, 0xa0, S390_TDB_R4_REGNUM, 0xa8, S390_TDB_R5_REGNUM, 0xb0, S390_TDB_R6_REGNUM, 0xb8, S390_TDB_R7_REGNUM, 0xc0, S390_TDB_R8_REGNUM, 0xc8, S390_TDB_R9_REGNUM, 0xd0, S390_TDB_R10_REGNUM, 0xd8, S390_TDB_R11_REGNUM, 0xe0, S390_TDB_R12_REGNUM, 0xe8, S390_TDB_R13_REGNUM, 0xf0, S390_TDB_R14_REGNUM, 0xf8, S390_TDB_R15_REGNUM, -1, -1 }
Definition at line 575 of file s390-tdep.c.
const short s390_regmap_upper[] |
{ 0x00, S390_R0_UPPER_REGNUM, 0x04, S390_R1_UPPER_REGNUM, 0x08, S390_R2_UPPER_REGNUM, 0x0c, S390_R3_UPPER_REGNUM, 0x10, S390_R4_UPPER_REGNUM, 0x14, S390_R5_UPPER_REGNUM, 0x18, S390_R6_UPPER_REGNUM, 0x1c, S390_R7_UPPER_REGNUM, 0x20, S390_R8_UPPER_REGNUM, 0x24, S390_R9_UPPER_REGNUM, 0x28, S390_R10_UPPER_REGNUM, 0x2c, S390_R11_UPPER_REGNUM, 0x30, S390_R12_UPPER_REGNUM, 0x34, S390_R13_UPPER_REGNUM, 0x38, S390_R14_UPPER_REGNUM, 0x3c, S390_R15_UPPER_REGNUM, -1, -1 }
Definition at line 536 of file s390-tdep.c.
const short s390x_regmap_gregset[] |
Definition at line 458 of file s390-tdep.c.
const short s390x_regmap_last_break[] |
{ 0x00, S390_LAST_BREAK_REGNUM, -1, -1 }
Definition at line 563 of file s390-tdep.c.