Add files missed in previous commit.

This commit is contained in:
Yao Qi 2011-08-14 12:50:14 +00:00
parent 224bbe4936
commit d3e3fa9393
21 changed files with 1018 additions and 0 deletions

View file

@ -0,0 +1,56 @@
/* THIS FILE IS GENERATED. Original: tic6x-c62x-linux.xml */
#include "defs.h"
#include "osabi.h"
#include "target-descriptions.h"
struct target_desc *tdesc_tic6x_c62x_linux;
static void
initialize_tdesc_tic6x_c62x_linux (void)
{
struct target_desc *result = allocate_target_description ();
struct tdesc_feature *feature;
struct tdesc_type *field_type, *type;
set_tdesc_architecture (result, bfd_scan_arch ("tic6x"));
set_tdesc_osabi (result, osabi_from_tdesc_string ("GNU/Linux"));
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.core");
tdesc_create_reg (feature, "A0", 0, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A1", 1, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A2", 2, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A3", 3, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A4", 4, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A5", 5, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A6", 6, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A7", 7, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A8", 8, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A9", 9, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A10", 10, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A11", 11, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A12", 12, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A13", 13, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A14", 14, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A15", 15, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B0", 16, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B1", 17, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B2", 18, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B3", 19, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B4", 20, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B5", 21, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B6", 22, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B7", 23, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B8", 24, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B9", 25, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B10", 26, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B11", 27, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B12", 28, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B13", 29, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B14", 30, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B15", 31, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "CSR", 32, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "PC", 33, 1, NULL, 32, "code_ptr");
tdesc_tic6x_c62x_linux = result;
}

View file

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!-- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!DOCTYPE target SYSTEM "gdb-target.dtd">
<target>
<architecture>tic6x</architecture>
<osabi>GNU/Linux</osabi>
<xi:include href="tic6x-core.xml"/>
</target>

54
gdb/features/tic6x-c62x.c Normal file
View file

@ -0,0 +1,54 @@
/* THIS FILE IS GENERATED. Original: tic6x-c62x.xml */
#include "defs.h"
#include "osabi.h"
#include "target-descriptions.h"
struct target_desc *tdesc_tic6x_c62x;
static void
initialize_tdesc_tic6x_c62x (void)
{
struct target_desc *result = allocate_target_description ();
struct tdesc_feature *feature;
struct tdesc_type *field_type, *type;
set_tdesc_architecture (result, bfd_scan_arch ("tic6x"));
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.core");
tdesc_create_reg (feature, "A0", 0, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A1", 1, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A2", 2, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A3", 3, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A4", 4, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A5", 5, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A6", 6, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A7", 7, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A8", 8, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A9", 9, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A10", 10, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A11", 11, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A12", 12, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A13", 13, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A14", 14, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A15", 15, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B0", 16, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B1", 17, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B2", 18, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B3", 19, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B4", 20, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B5", 21, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B6", 22, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B7", 23, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B8", 24, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B9", 25, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B10", 26, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B11", 27, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B12", 28, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B13", 29, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B14", 30, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B15", 31, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "CSR", 32, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "PC", 33, 1, NULL, 32, "code_ptr");
tdesc_tic6x_c62x = result;
}

View file

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!-- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!DOCTYPE target SYSTEM "gdb-target.dtd">
<target>
<architecture>tic6x</architecture>
<xi:include href="tic6x-core.xml"/>
</target>

View file

@ -0,0 +1,90 @@
/* THIS FILE IS GENERATED. Original: tic6x-c64x-linux.xml */
#include "defs.h"
#include "osabi.h"
#include "target-descriptions.h"
struct target_desc *tdesc_tic6x_c64x_linux;
static void
initialize_tdesc_tic6x_c64x_linux (void)
{
struct target_desc *result = allocate_target_description ();
struct tdesc_feature *feature;
struct tdesc_type *field_type, *type;
set_tdesc_architecture (result, bfd_scan_arch ("tic6x"));
set_tdesc_osabi (result, osabi_from_tdesc_string ("GNU/Linux"));
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.core");
tdesc_create_reg (feature, "A0", 0, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A1", 1, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A2", 2, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A3", 3, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A4", 4, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A5", 5, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A6", 6, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A7", 7, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A8", 8, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A9", 9, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A10", 10, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A11", 11, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A12", 12, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A13", 13, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A14", 14, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A15", 15, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B0", 16, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B1", 17, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B2", 18, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B3", 19, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B4", 20, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B5", 21, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B6", 22, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B7", 23, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B8", 24, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B9", 25, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B10", 26, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B11", 27, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B12", 28, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B13", 29, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B14", 30, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B15", 31, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "CSR", 32, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "PC", 33, 1, NULL, 32, "code_ptr");
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.gp");
tdesc_create_reg (feature, "A16", 34, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A17", 35, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A18", 36, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A19", 37, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A20", 38, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A21", 39, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A22", 40, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A23", 41, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A24", 42, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A25", 43, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A26", 44, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A27", 45, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A28", 46, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A29", 47, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A30", 48, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A31", 49, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B16", 50, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B17", 51, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B18", 52, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B19", 53, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B20", 54, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B21", 55, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B22", 56, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B23", 57, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B24", 58, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B25", 59, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B26", 60, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B27", 61, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B28", 62, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B29", 63, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B30", 64, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B31", 65, 1, NULL, 32, "uint32");
tdesc_tic6x_c64x_linux = result;
}

View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<!-- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!DOCTYPE target SYSTEM "gdb-target.dtd">
<target>
<architecture>tic6x</architecture>
<osabi>GNU/Linux</osabi>
<xi:include href="tic6x-core.xml"/>
<xi:include href="tic6x-gp.xml"/>
</target>

88
gdb/features/tic6x-c64x.c Normal file
View file

@ -0,0 +1,88 @@
/* THIS FILE IS GENERATED. Original: tic6x-c64x.xml */
#include "defs.h"
#include "osabi.h"
#include "target-descriptions.h"
struct target_desc *tdesc_tic6x_c64x;
static void
initialize_tdesc_tic6x_c64x (void)
{
struct target_desc *result = allocate_target_description ();
struct tdesc_feature *feature;
struct tdesc_type *field_type, *type;
set_tdesc_architecture (result, bfd_scan_arch ("tic6x"));
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.core");
tdesc_create_reg (feature, "A0", 0, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A1", 1, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A2", 2, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A3", 3, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A4", 4, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A5", 5, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A6", 6, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A7", 7, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A8", 8, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A9", 9, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A10", 10, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A11", 11, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A12", 12, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A13", 13, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A14", 14, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A15", 15, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B0", 16, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B1", 17, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B2", 18, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B3", 19, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B4", 20, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B5", 21, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B6", 22, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B7", 23, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B8", 24, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B9", 25, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B10", 26, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B11", 27, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B12", 28, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B13", 29, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B14", 30, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B15", 31, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "CSR", 32, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "PC", 33, 1, NULL, 32, "code_ptr");
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.gp");
tdesc_create_reg (feature, "A16", 34, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A17", 35, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A18", 36, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A19", 37, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A20", 38, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A21", 39, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A22", 40, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A23", 41, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A24", 42, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A25", 43, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A26", 44, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A27", 45, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A28", 46, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A29", 47, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A30", 48, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A31", 49, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B16", 50, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B17", 51, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B18", 52, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B19", 53, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B20", 54, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B21", 55, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B22", 56, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B23", 57, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B24", 58, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B25", 59, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B26", 60, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B27", 61, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B28", 62, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B29", 63, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B30", 64, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B31", 65, 1, NULL, 32, "uint32");
tdesc_tic6x_c64x = result;
}

View file

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!-- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!DOCTYPE target SYSTEM "gdb-target.dtd">
<target>
<architecture>tic6x</architecture>
<xi:include href="tic6x-core.xml"/>
<xi:include href="tic6x-gp.xml"/>
</target>

View file

@ -0,0 +1,95 @@
/* THIS FILE IS GENERATED. Original: tic6x-c64xp-linux.xml */
#include "defs.h"
#include "osabi.h"
#include "target-descriptions.h"
struct target_desc *tdesc_tic6x_c64xp_linux;
static void
initialize_tdesc_tic6x_c64xp_linux (void)
{
struct target_desc *result = allocate_target_description ();
struct tdesc_feature *feature;
struct tdesc_type *field_type, *type;
set_tdesc_architecture (result, bfd_scan_arch ("tic6x"));
set_tdesc_osabi (result, osabi_from_tdesc_string ("GNU/Linux"));
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.core");
tdesc_create_reg (feature, "A0", 0, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A1", 1, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A2", 2, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A3", 3, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A4", 4, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A5", 5, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A6", 6, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A7", 7, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A8", 8, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A9", 9, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A10", 10, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A11", 11, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A12", 12, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A13", 13, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A14", 14, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A15", 15, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B0", 16, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B1", 17, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B2", 18, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B3", 19, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B4", 20, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B5", 21, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B6", 22, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B7", 23, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B8", 24, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B9", 25, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B10", 26, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B11", 27, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B12", 28, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B13", 29, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B14", 30, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B15", 31, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "CSR", 32, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "PC", 33, 1, NULL, 32, "code_ptr");
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.gp");
tdesc_create_reg (feature, "A16", 34, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A17", 35, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A18", 36, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A19", 37, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A20", 38, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A21", 39, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A22", 40, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A23", 41, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A24", 42, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A25", 43, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A26", 44, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A27", 45, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A28", 46, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A29", 47, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A30", 48, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A31", 49, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B16", 50, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B17", 51, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B18", 52, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B19", 53, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B20", 54, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B21", 55, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B22", 56, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B23", 57, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B24", 58, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B25", 59, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B26", 60, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B27", 61, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B28", 62, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B29", 63, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B30", 64, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B31", 65, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.c6xp");
tdesc_create_reg (feature, "TSR", 66, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "ILC", 67, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "RILC", 68, 1, NULL, 32, "uint32");
tdesc_tic6x_c64xp_linux = result;
}

View file

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<!-- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!DOCTYPE target SYSTEM "gdb-target.dtd">
<target>
<architecture>tic6x</architecture>
<osabi>GNU/Linux</osabi>
<xi:include href="tic6x-core.xml"/>
<xi:include href="tic6x-gp.xml"/>
<xi:include href="tic6x-c6xp.xml"/>
</target>

View file

@ -0,0 +1,93 @@
/* THIS FILE IS GENERATED. Original: tic6x-c64xp.xml */
#include "defs.h"
#include "osabi.h"
#include "target-descriptions.h"
struct target_desc *tdesc_tic6x_c64xp;
static void
initialize_tdesc_tic6x_c64xp (void)
{
struct target_desc *result = allocate_target_description ();
struct tdesc_feature *feature;
struct tdesc_type *field_type, *type;
set_tdesc_architecture (result, bfd_scan_arch ("tic6x"));
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.core");
tdesc_create_reg (feature, "A0", 0, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A1", 1, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A2", 2, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A3", 3, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A4", 4, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A5", 5, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A6", 6, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A7", 7, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A8", 8, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A9", 9, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A10", 10, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A11", 11, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A12", 12, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A13", 13, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A14", 14, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A15", 15, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B0", 16, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B1", 17, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B2", 18, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B3", 19, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B4", 20, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B5", 21, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B6", 22, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B7", 23, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B8", 24, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B9", 25, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B10", 26, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B11", 27, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B12", 28, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B13", 29, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B14", 30, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B15", 31, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "CSR", 32, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "PC", 33, 1, NULL, 32, "code_ptr");
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.gp");
tdesc_create_reg (feature, "A16", 34, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A17", 35, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A18", 36, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A19", 37, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A20", 38, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A21", 39, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A22", 40, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A23", 41, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A24", 42, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A25", 43, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A26", 44, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A27", 45, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A28", 46, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A29", 47, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A30", 48, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A31", 49, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B16", 50, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B17", 51, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B18", 52, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B19", 53, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B20", 54, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B21", 55, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B22", 56, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B23", 57, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B24", 58, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B25", 59, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B26", 60, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B27", 61, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B28", 62, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B29", 63, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B30", 64, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B31", 65, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.c6xp");
tdesc_create_reg (feature, "TSR", 66, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "ILC", 67, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "RILC", 68, 1, NULL, 32, "uint32");
tdesc_tic6x_c64xp = result;
}

View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<!-- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!DOCTYPE target SYSTEM "gdb-target.dtd">
<target>
<architecture>tic6x</architecture>
<xi:include href="tic6x-core.xml"/>
<xi:include href="tic6x-gp.xml"/>
<xi:include href="tic6x-c6xp.xml"/>
</target>

View file

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!-- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.tic6x.c6xp">
<reg name="TSR" bitsize="32" type="uint32"/>
<reg name="ILC" bitsize="32" type="uint32"/>
<reg name="RILC" bitsize="32" type="uint32"/>
</feature>

View file

@ -0,0 +1,44 @@
<?xml version="1.0"?>
<!-- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.tic6x.core">
<reg name="A0" bitsize="32" type="uint32"/>
<reg name="A1" bitsize="32" type="uint32"/>
<reg name="A2" bitsize="32" type="uint32"/>
<reg name="A3" bitsize="32" type="uint32"/>
<reg name="A4" bitsize="32" type="uint32"/>
<reg name="A5" bitsize="32" type="uint32"/>
<reg name="A6" bitsize="32" type="uint32"/>
<reg name="A7" bitsize="32" type="uint32"/>
<reg name="A8" bitsize="32" type="uint32"/>
<reg name="A9" bitsize="32" type="uint32"/>
<reg name="A10" bitsize="32" type="uint32"/>
<reg name="A11" bitsize="32" type="uint32"/>
<reg name="A12" bitsize="32" type="uint32"/>
<reg name="A13" bitsize="32" type="uint32"/>
<reg name="A14" bitsize="32" type="uint32"/>
<reg name="A15" bitsize="32" type="uint32"/>
<reg name="B0" bitsize="32" type="uint32"/>
<reg name="B1" bitsize="32" type="uint32"/>
<reg name="B2" bitsize="32" type="uint32"/>
<reg name="B3" bitsize="32" type="uint32"/>
<reg name="B4" bitsize="32" type="uint32"/>
<reg name="B5" bitsize="32" type="uint32"/>
<reg name="B6" bitsize="32" type="uint32"/>
<reg name="B7" bitsize="32" type="uint32"/>
<reg name="B8" bitsize="32" type="uint32"/>
<reg name="B9" bitsize="32" type="uint32"/>
<reg name="B10" bitsize="32" type="uint32"/>
<reg name="B11" bitsize="32" type="uint32"/>
<reg name="B12" bitsize="32" type="uint32"/>
<reg name="B13" bitsize="32" type="uint32"/>
<reg name="B14" bitsize="32" type="uint32"/>
<reg name="B15" bitsize="32" type="uint32"/>
<reg name="CSR" bitsize="32" type="uint32"/>
<reg name="PC" bitsize="32" type="code_ptr"/>
</feature>

42
gdb/features/tic6x-gp.xml Normal file
View file

@ -0,0 +1,42 @@
<?xml version="1.0"?>
<!-- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. -->
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.tic6x.gp">
<reg name="A16" bitsize="32" type="uint32"/>
<reg name="A17" bitsize="32" type="uint32"/>
<reg name="A18" bitsize="32" type="uint32"/>
<reg name="A19" bitsize="32" type="uint32"/>
<reg name="A20" bitsize="32" type="uint32"/>
<reg name="A21" bitsize="32" type="uint32"/>
<reg name="A22" bitsize="32" type="uint32"/>
<reg name="A23" bitsize="32" type="uint32"/>
<reg name="A24" bitsize="32" type="uint32"/>
<reg name="A25" bitsize="32" type="uint32"/>
<reg name="A26" bitsize="32" type="uint32"/>
<reg name="A27" bitsize="32" type="uint32"/>
<reg name="A28" bitsize="32" type="uint32"/>
<reg name="A29" bitsize="32" type="uint32"/>
<reg name="A30" bitsize="32" type="uint32"/>
<reg name="A31" bitsize="32" type="uint32"/>
<reg name="B16" bitsize="32" type="uint32"/>
<reg name="B17" bitsize="32" type="uint32"/>
<reg name="B18" bitsize="32" type="uint32"/>
<reg name="B19" bitsize="32" type="uint32"/>
<reg name="B20" bitsize="32" type="uint32"/>
<reg name="B21" bitsize="32" type="uint32"/>
<reg name="B22" bitsize="32" type="uint32"/>
<reg name="B23" bitsize="32" type="uint32"/>
<reg name="B24" bitsize="32" type="uint32"/>
<reg name="B25" bitsize="32" type="uint32"/>
<reg name="B26" bitsize="32" type="uint32"/>
<reg name="B27" bitsize="32" type="uint32"/>
<reg name="B28" bitsize="32" type="uint32"/>
<reg name="B29" bitsize="32" type="uint32"/>
<reg name="B30" bitsize="32" type="uint32"/>
<reg name="B31" bitsize="32" type="uint32"/>
</feature>

View file

@ -0,0 +1,38 @@
# DO NOT EDIT: generated from tic6x-c62x-linux.xml
name:tic6x_c62x_linux
xmltarget:tic6x-c62x-linux.xml
expedite:A15,PC
32:A0
32:A1
32:A2
32:A3
32:A4
32:A5
32:A6
32:A7
32:A8
32:A9
32:A10
32:A11
32:A12
32:A13
32:A14
32:A15
32:B0
32:B1
32:B2
32:B3
32:B4
32:B5
32:B6
32:B7
32:B8
32:B9
32:B10
32:B11
32:B12
32:B13
32:B14
32:B15
32:CSR
32:PC

View file

@ -0,0 +1,38 @@
# DO NOT EDIT: generated from tic6x-c62x.xml
name:tic6x_c62x
xmltarget:tic6x-c62x.xml
expedite:A15,PC
32:A0
32:A1
32:A2
32:A3
32:A4
32:A5
32:A6
32:A7
32:A8
32:A9
32:A10
32:A11
32:A12
32:A13
32:A14
32:A15
32:B0
32:B1
32:B2
32:B3
32:B4
32:B5
32:B6
32:B7
32:B8
32:B9
32:B10
32:B11
32:B12
32:B13
32:B14
32:B15
32:CSR
32:PC

View file

@ -0,0 +1,70 @@
# DO NOT EDIT: generated from tic6x-c64x-linux.xml
name:tic6x_c64x_linux
xmltarget:tic6x-c64x-linux.xml
expedite:A15,PC
32:A0
32:A1
32:A2
32:A3
32:A4
32:A5
32:A6
32:A7
32:A8
32:A9
32:A10
32:A11
32:A12
32:A13
32:A14
32:A15
32:B0
32:B1
32:B2
32:B3
32:B4
32:B5
32:B6
32:B7
32:B8
32:B9
32:B10
32:B11
32:B12
32:B13
32:B14
32:B15
32:CSR
32:PC
32:A16
32:A17
32:A18
32:A19
32:A20
32:A21
32:A22
32:A23
32:A24
32:A25
32:A26
32:A27
32:A28
32:A29
32:A30
32:A31
32:B16
32:B17
32:B18
32:B19
32:B20
32:B21
32:B22
32:B23
32:B24
32:B25
32:B26
32:B27
32:B28
32:B29
32:B30
32:B31

View file

@ -0,0 +1,70 @@
# DO NOT EDIT: generated from tic6x-c64x.xml
name:tic6x_c64x
xmltarget:tic6x-c64x.xml
expedite:A15,PC
32:A0
32:A1
32:A2
32:A3
32:A4
32:A5
32:A6
32:A7
32:A8
32:A9
32:A10
32:A11
32:A12
32:A13
32:A14
32:A15
32:B0
32:B1
32:B2
32:B3
32:B4
32:B5
32:B6
32:B7
32:B8
32:B9
32:B10
32:B11
32:B12
32:B13
32:B14
32:B15
32:CSR
32:PC
32:A16
32:A17
32:A18
32:A19
32:A20
32:A21
32:A22
32:A23
32:A24
32:A25
32:A26
32:A27
32:A28
32:A29
32:A30
32:A31
32:B16
32:B17
32:B18
32:B19
32:B20
32:B21
32:B22
32:B23
32:B24
32:B25
32:B26
32:B27
32:B28
32:B29
32:B30
32:B31

View file

@ -0,0 +1,73 @@
# DO NOT EDIT: generated from tic6x-c64xp-linux.xml
name:tic6x_c64xp_linux
xmltarget:tic6x-c64xp-linux.xml
expedite:A15,PC
32:A0
32:A1
32:A2
32:A3
32:A4
32:A5
32:A6
32:A7
32:A8
32:A9
32:A10
32:A11
32:A12
32:A13
32:A14
32:A15
32:B0
32:B1
32:B2
32:B3
32:B4
32:B5
32:B6
32:B7
32:B8
32:B9
32:B10
32:B11
32:B12
32:B13
32:B14
32:B15
32:CSR
32:PC
32:A16
32:A17
32:A18
32:A19
32:A20
32:A21
32:A22
32:A23
32:A24
32:A25
32:A26
32:A27
32:A28
32:A29
32:A30
32:A31
32:B16
32:B17
32:B18
32:B19
32:B20
32:B21
32:B22
32:B23
32:B24
32:B25
32:B26
32:B27
32:B28
32:B29
32:B30
32:B31
32:TSR
32:ILC
32:RILC

View file

@ -0,0 +1,73 @@
# DO NOT EDIT: generated from tic6x-c64xp.xml
name:tic6x_c64xp
xmltarget:tic6x-c64xp.xml
expedite:A15,PC
32:A0
32:A1
32:A2
32:A3
32:A4
32:A5
32:A6
32:A7
32:A8
32:A9
32:A10
32:A11
32:A12
32:A13
32:A14
32:A15
32:B0
32:B1
32:B2
32:B3
32:B4
32:B5
32:B6
32:B7
32:B8
32:B9
32:B10
32:B11
32:B12
32:B13
32:B14
32:B15
32:CSR
32:PC
32:A16
32:A17
32:A18
32:A19
32:A20
32:A21
32:A22
32:A23
32:A24
32:A25
32:A26
32:A27
32:A28
32:A29
32:A30
32:A31
32:B16
32:B17
32:B18
32:B19
32:B20
32:B21
32:B22
32:B23
32:B24
32:B25
32:B26
32:B27
32:B28
32:B29
32:B30
32:B31
32:TSR
32:ILC
32:RILC