GDB (API)
/home/stan/gdb/src/gdb/features/s390x-linux64.c
Go to the documentation of this file.
00001 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
00002   Original: s390x-linux64.xml */
00003 
00004 #include "defs.h"
00005 #include "osabi.h"
00006 #include "target-descriptions.h"
00007 
00008 struct target_desc *tdesc_s390x_linux64;
00009 static void
00010 initialize_tdesc_s390x_linux64 (void)
00011 {
00012   struct target_desc *result = allocate_target_description ();
00013   struct tdesc_feature *feature;
00014 
00015   set_tdesc_architecture (result, bfd_scan_arch ("s390:64-bit"));
00016 
00017   feature = tdesc_create_feature (result, "org.gnu.gdb.s390.core");
00018   tdesc_create_reg (feature, "pswm", 0, 1, "psw", 64, "uint64");
00019   tdesc_create_reg (feature, "pswa", 1, 1, "psw", 64, "uint64");
00020   tdesc_create_reg (feature, "r0", 2, 1, "general", 64, "uint64");
00021   tdesc_create_reg (feature, "r1", 3, 1, "general", 64, "uint64");
00022   tdesc_create_reg (feature, "r2", 4, 1, "general", 64, "uint64");
00023   tdesc_create_reg (feature, "r3", 5, 1, "general", 64, "uint64");
00024   tdesc_create_reg (feature, "r4", 6, 1, "general", 64, "uint64");
00025   tdesc_create_reg (feature, "r5", 7, 1, "general", 64, "uint64");
00026   tdesc_create_reg (feature, "r6", 8, 1, "general", 64, "uint64");
00027   tdesc_create_reg (feature, "r7", 9, 1, "general", 64, "uint64");
00028   tdesc_create_reg (feature, "r8", 10, 1, "general", 64, "uint64");
00029   tdesc_create_reg (feature, "r9", 11, 1, "general", 64, "uint64");
00030   tdesc_create_reg (feature, "r10", 12, 1, "general", 64, "uint64");
00031   tdesc_create_reg (feature, "r11", 13, 1, "general", 64, "uint64");
00032   tdesc_create_reg (feature, "r12", 14, 1, "general", 64, "uint64");
00033   tdesc_create_reg (feature, "r13", 15, 1, "general", 64, "uint64");
00034   tdesc_create_reg (feature, "r14", 16, 1, "general", 64, "uint64");
00035   tdesc_create_reg (feature, "r15", 17, 1, "general", 64, "uint64");
00036 
00037   feature = tdesc_create_feature (result, "org.gnu.gdb.s390.acr");
00038   tdesc_create_reg (feature, "acr0", 18, 1, "access", 32, "uint32");
00039   tdesc_create_reg (feature, "acr1", 19, 1, "access", 32, "uint32");
00040   tdesc_create_reg (feature, "acr2", 20, 1, "access", 32, "uint32");
00041   tdesc_create_reg (feature, "acr3", 21, 1, "access", 32, "uint32");
00042   tdesc_create_reg (feature, "acr4", 22, 1, "access", 32, "uint32");
00043   tdesc_create_reg (feature, "acr5", 23, 1, "access", 32, "uint32");
00044   tdesc_create_reg (feature, "acr6", 24, 1, "access", 32, "uint32");
00045   tdesc_create_reg (feature, "acr7", 25, 1, "access", 32, "uint32");
00046   tdesc_create_reg (feature, "acr8", 26, 1, "access", 32, "uint32");
00047   tdesc_create_reg (feature, "acr9", 27, 1, "access", 32, "uint32");
00048   tdesc_create_reg (feature, "acr10", 28, 1, "access", 32, "uint32");
00049   tdesc_create_reg (feature, "acr11", 29, 1, "access", 32, "uint32");
00050   tdesc_create_reg (feature, "acr12", 30, 1, "access", 32, "uint32");
00051   tdesc_create_reg (feature, "acr13", 31, 1, "access", 32, "uint32");
00052   tdesc_create_reg (feature, "acr14", 32, 1, "access", 32, "uint32");
00053   tdesc_create_reg (feature, "acr15", 33, 1, "access", 32, "uint32");
00054 
00055   feature = tdesc_create_feature (result, "org.gnu.gdb.s390.fpr");
00056   tdesc_create_reg (feature, "fpc", 34, 1, "float", 32, "uint32");
00057   tdesc_create_reg (feature, "f0", 35, 1, "float", 64, "ieee_double");
00058   tdesc_create_reg (feature, "f1", 36, 1, "float", 64, "ieee_double");
00059   tdesc_create_reg (feature, "f2", 37, 1, "float", 64, "ieee_double");
00060   tdesc_create_reg (feature, "f3", 38, 1, "float", 64, "ieee_double");
00061   tdesc_create_reg (feature, "f4", 39, 1, "float", 64, "ieee_double");
00062   tdesc_create_reg (feature, "f5", 40, 1, "float", 64, "ieee_double");
00063   tdesc_create_reg (feature, "f6", 41, 1, "float", 64, "ieee_double");
00064   tdesc_create_reg (feature, "f7", 42, 1, "float", 64, "ieee_double");
00065   tdesc_create_reg (feature, "f8", 43, 1, "float", 64, "ieee_double");
00066   tdesc_create_reg (feature, "f9", 44, 1, "float", 64, "ieee_double");
00067   tdesc_create_reg (feature, "f10", 45, 1, "float", 64, "ieee_double");
00068   tdesc_create_reg (feature, "f11", 46, 1, "float", 64, "ieee_double");
00069   tdesc_create_reg (feature, "f12", 47, 1, "float", 64, "ieee_double");
00070   tdesc_create_reg (feature, "f13", 48, 1, "float", 64, "ieee_double");
00071   tdesc_create_reg (feature, "f14", 49, 1, "float", 64, "ieee_double");
00072   tdesc_create_reg (feature, "f15", 50, 1, "float", 64, "ieee_double");
00073 
00074   feature = tdesc_create_feature (result, "org.gnu.gdb.s390.linux");
00075   tdesc_create_reg (feature, "orig_r2", 51, 1, "system", 64, "uint64");
00076 
00077   tdesc_s390x_linux64 = result;
00078 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines