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