aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/mips64-dsp-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/features/mips64-dsp-linux.c')
-rw-r--r--gdb/features/mips64-dsp-linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/features/mips64-dsp-linux.c b/gdb/features/mips64-dsp-linux.c
index bc09078..05317b7 100644
--- a/gdb/features/mips64-dsp-linux.c
+++ b/gdb/features/mips64-dsp-linux.c
@@ -10,10 +10,10 @@ static void
initialize_tdesc_mips64_dsp_linux (void)
{
struct target_desc *result = allocate_target_description ();
- struct tdesc_feature *feature;
-
set_tdesc_architecture (result, bfd_scan_arch ("mips"));
+ struct tdesc_feature *feature;
+
feature = tdesc_create_feature (result, "org.gnu.gdb.mips.cpu");
tdesc_create_reg (feature, "r0", 0, 1, NULL, 64, "int");
tdesc_create_reg (feature, "r1", 1, 1, NULL, 64, "int");