Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Unified Diff: gdb/features/mips64-dsp-linux.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/features/mips64-dsp.xml ('k') | gdb/features/mips64-dsp-linux.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/features/mips64-dsp-linux.c
diff --git a/gdb/features/mips64-linux.c b/gdb/features/mips64-dsp-linux.c
similarity index 87%
copy from gdb/features/mips64-linux.c
copy to gdb/features/mips64-dsp-linux.c
index 73dce6d06c121f8245c88a036aedc1e9817154f8..3e67990b54ef6636fe7d21e2a6e8618453152de2 100644
--- a/gdb/features/mips64-linux.c
+++ b/gdb/features/mips64-dsp-linux.c
@@ -1,15 +1,15 @@
-/* THIS FILE IS GENERATED. Original: mips64-linux.xml */
+/* THIS FILE IS GENERATED. Original: mips64-dsp-linux.xml */
#include "defs.h"
+#include "osabi.h"
#include "target-descriptions.h"
-struct target_desc *tdesc_mips64_linux;
+struct target_desc *tdesc_mips64_dsp_linux;
static void
-initialize_tdesc_mips64_linux (void)
+initialize_tdesc_mips64_dsp_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 ("mips"));
@@ -91,8 +91,17 @@ initialize_tdesc_mips64_linux (void)
tdesc_create_reg (feature, "fcsr", 70, 1, "float", 64, "int");
tdesc_create_reg (feature, "fir", 71, 1, "float", 64, "int");
+ feature = tdesc_create_feature (result, "org.gnu.gdb.mips.dsp");
+ tdesc_create_reg (feature, "hi1", 72, 1, NULL, 64, "int");
+ tdesc_create_reg (feature, "lo1", 73, 1, NULL, 64, "int");
+ tdesc_create_reg (feature, "hi2", 74, 1, NULL, 64, "int");
+ tdesc_create_reg (feature, "lo2", 75, 1, NULL, 64, "int");
+ tdesc_create_reg (feature, "hi3", 76, 1, NULL, 64, "int");
+ tdesc_create_reg (feature, "lo3", 77, 1, NULL, 64, "int");
+ tdesc_create_reg (feature, "dspctl", 78, 1, NULL, 32, "int");
+
feature = tdesc_create_feature (result, "org.gnu.gdb.mips.linux");
- tdesc_create_reg (feature, "restart", 72, 1, "system", 64, "int");
+ tdesc_create_reg (feature, "restart", 79, 1, "system", 64, "int");
- tdesc_mips64_linux = result;
+ tdesc_mips64_dsp_linux = result;
}
« no previous file with comments | « gdb/features/mips64-dsp.xml ('k') | gdb/features/mips64-dsp-linux.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698