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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/features/mips-linux.c b/gdb/features/mips-linux.c
index b0181eb..c990119 100644
--- a/gdb/features/mips-linux.c
+++ b/gdb/features/mips-linux.c
@@ -1,6 +1,8 @@
-/* THIS FILE IS GENERATED. Original: mips-linux.xml */
+/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
+ Original: mips-linux.xml */
#include "defs.h"
+#include "osabi.h"
#include "target-descriptions.h"
struct target_desc *tdesc_mips_linux;
@@ -12,6 +14,8 @@ initialize_tdesc_mips_linux (void)
set_tdesc_architecture (result, bfd_scan_arch ("mips"));
+ set_tdesc_osabi (result, osabi_from_tdesc_string ("GNU/Linux"));
+
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");