aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/tic6x-c64xp-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/features/tic6x-c64xp-linux.c')
-rw-r--r--gdb/features/tic6x-c64xp-linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/features/tic6x-c64xp-linux.c b/gdb/features/tic6x-c64xp-linux.c
index c1bee4c..ca8c505 100644
--- a/gdb/features/tic6x-c64xp-linux.c
+++ b/gdb/features/tic6x-c64xp-linux.c
@@ -10,12 +10,12 @@ static void
initialize_tdesc_tic6x_c64xp_linux (void)
{
struct target_desc *result = allocate_target_description ();
- struct tdesc_feature *feature;
-
set_tdesc_architecture (result, bfd_scan_arch ("tic6x"));
set_tdesc_osabi (result, osabi_from_tdesc_string ("GNU/Linux"));
+ struct tdesc_feature *feature;
+
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");