GDB (API)
/home/stan/gdb/src/gdb/features/tic6x-c64xp.c
Go to the documentation of this file.
00001 /* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
00002   Original: tic6x-c64xp.xml */
00003 
00004 #include "defs.h"
00005 #include "osabi.h"
00006 #include "target-descriptions.h"
00007 
00008 struct target_desc *tdesc_tic6x_c64xp;
00009 static void
00010 initialize_tdesc_tic6x_c64xp (void)
00011 {
00012   struct target_desc *result = allocate_target_description ();
00013   struct tdesc_feature *feature;
00014 
00015   set_tdesc_architecture (result, bfd_scan_arch ("tic6x"));
00016 
00017   feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.core");
00018   tdesc_create_reg (feature, "A0", 0, 1, NULL, 32, "uint32");
00019   tdesc_create_reg (feature, "A1", 1, 1, NULL, 32, "uint32");
00020   tdesc_create_reg (feature, "A2", 2, 1, NULL, 32, "uint32");
00021   tdesc_create_reg (feature, "A3", 3, 1, NULL, 32, "uint32");
00022   tdesc_create_reg (feature, "A4", 4, 1, NULL, 32, "uint32");
00023   tdesc_create_reg (feature, "A5", 5, 1, NULL, 32, "uint32");
00024   tdesc_create_reg (feature, "A6", 6, 1, NULL, 32, "uint32");
00025   tdesc_create_reg (feature, "A7", 7, 1, NULL, 32, "uint32");
00026   tdesc_create_reg (feature, "A8", 8, 1, NULL, 32, "uint32");
00027   tdesc_create_reg (feature, "A9", 9, 1, NULL, 32, "uint32");
00028   tdesc_create_reg (feature, "A10", 10, 1, NULL, 32, "uint32");
00029   tdesc_create_reg (feature, "A11", 11, 1, NULL, 32, "uint32");
00030   tdesc_create_reg (feature, "A12", 12, 1, NULL, 32, "uint32");
00031   tdesc_create_reg (feature, "A13", 13, 1, NULL, 32, "uint32");
00032   tdesc_create_reg (feature, "A14", 14, 1, NULL, 32, "uint32");
00033   tdesc_create_reg (feature, "A15", 15, 1, NULL, 32, "uint32");
00034   tdesc_create_reg (feature, "B0", 16, 1, NULL, 32, "uint32");
00035   tdesc_create_reg (feature, "B1", 17, 1, NULL, 32, "uint32");
00036   tdesc_create_reg (feature, "B2", 18, 1, NULL, 32, "uint32");
00037   tdesc_create_reg (feature, "B3", 19, 1, NULL, 32, "uint32");
00038   tdesc_create_reg (feature, "B4", 20, 1, NULL, 32, "uint32");
00039   tdesc_create_reg (feature, "B5", 21, 1, NULL, 32, "uint32");
00040   tdesc_create_reg (feature, "B6", 22, 1, NULL, 32, "uint32");
00041   tdesc_create_reg (feature, "B7", 23, 1, NULL, 32, "uint32");
00042   tdesc_create_reg (feature, "B8", 24, 1, NULL, 32, "uint32");
00043   tdesc_create_reg (feature, "B9", 25, 1, NULL, 32, "uint32");
00044   tdesc_create_reg (feature, "B10", 26, 1, NULL, 32, "uint32");
00045   tdesc_create_reg (feature, "B11", 27, 1, NULL, 32, "uint32");
00046   tdesc_create_reg (feature, "B12", 28, 1, NULL, 32, "uint32");
00047   tdesc_create_reg (feature, "B13", 29, 1, NULL, 32, "uint32");
00048   tdesc_create_reg (feature, "B14", 30, 1, NULL, 32, "uint32");
00049   tdesc_create_reg (feature, "B15", 31, 1, NULL, 32, "uint32");
00050   tdesc_create_reg (feature, "CSR", 32, 1, NULL, 32, "uint32");
00051   tdesc_create_reg (feature, "PC", 33, 1, NULL, 32, "code_ptr");
00052 
00053   feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.gp");
00054   tdesc_create_reg (feature, "A16", 34, 1, NULL, 32, "uint32");
00055   tdesc_create_reg (feature, "A17", 35, 1, NULL, 32, "uint32");
00056   tdesc_create_reg (feature, "A18", 36, 1, NULL, 32, "uint32");
00057   tdesc_create_reg (feature, "A19", 37, 1, NULL, 32, "uint32");
00058   tdesc_create_reg (feature, "A20", 38, 1, NULL, 32, "uint32");
00059   tdesc_create_reg (feature, "A21", 39, 1, NULL, 32, "uint32");
00060   tdesc_create_reg (feature, "A22", 40, 1, NULL, 32, "uint32");
00061   tdesc_create_reg (feature, "A23", 41, 1, NULL, 32, "uint32");
00062   tdesc_create_reg (feature, "A24", 42, 1, NULL, 32, "uint32");
00063   tdesc_create_reg (feature, "A25", 43, 1, NULL, 32, "uint32");
00064   tdesc_create_reg (feature, "A26", 44, 1, NULL, 32, "uint32");
00065   tdesc_create_reg (feature, "A27", 45, 1, NULL, 32, "uint32");
00066   tdesc_create_reg (feature, "A28", 46, 1, NULL, 32, "uint32");
00067   tdesc_create_reg (feature, "A29", 47, 1, NULL, 32, "uint32");
00068   tdesc_create_reg (feature, "A30", 48, 1, NULL, 32, "uint32");
00069   tdesc_create_reg (feature, "A31", 49, 1, NULL, 32, "uint32");
00070   tdesc_create_reg (feature, "B16", 50, 1, NULL, 32, "uint32");
00071   tdesc_create_reg (feature, "B17", 51, 1, NULL, 32, "uint32");
00072   tdesc_create_reg (feature, "B18", 52, 1, NULL, 32, "uint32");
00073   tdesc_create_reg (feature, "B19", 53, 1, NULL, 32, "uint32");
00074   tdesc_create_reg (feature, "B20", 54, 1, NULL, 32, "uint32");
00075   tdesc_create_reg (feature, "B21", 55, 1, NULL, 32, "uint32");
00076   tdesc_create_reg (feature, "B22", 56, 1, NULL, 32, "uint32");
00077   tdesc_create_reg (feature, "B23", 57, 1, NULL, 32, "uint32");
00078   tdesc_create_reg (feature, "B24", 58, 1, NULL, 32, "uint32");
00079   tdesc_create_reg (feature, "B25", 59, 1, NULL, 32, "uint32");
00080   tdesc_create_reg (feature, "B26", 60, 1, NULL, 32, "uint32");
00081   tdesc_create_reg (feature, "B27", 61, 1, NULL, 32, "uint32");
00082   tdesc_create_reg (feature, "B28", 62, 1, NULL, 32, "uint32");
00083   tdesc_create_reg (feature, "B29", 63, 1, NULL, 32, "uint32");
00084   tdesc_create_reg (feature, "B30", 64, 1, NULL, 32, "uint32");
00085   tdesc_create_reg (feature, "B31", 65, 1, NULL, 32, "uint32");
00086 
00087   feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.c6xp");
00088   tdesc_create_reg (feature, "TSR", 66, 1, NULL, 32, "uint32");
00089   tdesc_create_reg (feature, "ILC", 67, 1, NULL, 32, "uint32");
00090   tdesc_create_reg (feature, "RILC", 68, 1, NULL, 32, "uint32");
00091 
00092   tdesc_tic6x_c64xp = result;
00093 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines