This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Adjust the order of 32bit-linux.xml and 32bit-sse.xml in i386/i386-linux.xml


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=75c554cf9c375432af6e93653880d5498cd5f918

commit 75c554cf9c375432af6e93653880d5498cd5f918
Author: Yao Qi <yao.qi@linaro.org>
Date:   Tue Jun 20 12:08:33 2017 +0100

    Adjust the order of 32bit-linux.xml and 32bit-sse.xml in i386/i386-linux.xml
    
    Exchange the order of 32bit-linux.xml and 32bit-sse.xml in
    i386/i386-linux.xml, to align with other i386 linux .xml files.
    
    gdb:
    
    2017-06-20  Yao Qi  <yao.qi@linaro.org>
    
    	* features/i386/i386-linux.xml: Exchange the order of including
    	32bit-linux.xml and 32bit-sse.xml.
    	* features/i386/i386-linux.c: Regenerated.

Diff:
---
 gdb/ChangeLog                    | 6 ++++++
 gdb/features/i386/i386-linux.c   | 6 +++---
 gdb/features/i386/i386-linux.xml | 2 +-
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c1998bb..79d0f3c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
 2017-06-20  Yao Qi  <yao.qi@linaro.org>
 
+	* features/i386/i386-linux.xml: Exchange the order of including
+	32bit-linux.xml and 32bit-sse.xml.
+	* features/i386/i386-linux.c: Regenerated.
+
+2017-06-20  Yao Qi  <yao.qi@linaro.org>
+
 	* target-descriptions.c (tdesc_reg): Add ctor, dtor.
 	Delete copy ctor and assignment operator.
 	(tdesc_type): Likewise.
diff --git a/gdb/features/i386/i386-linux.c b/gdb/features/i386/i386-linux.c
index 42c406b..c7796c3 100644
--- a/gdb/features/i386/i386-linux.c
+++ b/gdb/features/i386/i386-linux.c
@@ -71,9 +71,6 @@ initialize_tdesc_i386_linux (void)
   tdesc_create_reg (feature, "fooff", 30, 1, "float", 32, "int");
   tdesc_create_reg (feature, "fop", 31, 1, "float", 32, "int");
 
-  feature = tdesc_create_feature (result, "org.gnu.gdb.i386.linux");
-  tdesc_create_reg (feature, "orig_eax", 41, 1, NULL, 32, "int");
-
   feature = tdesc_create_feature (result, "org.gnu.gdb.i386.sse");
   field_type = tdesc_named_type (feature, "ieee_single");
   tdesc_create_vector (feature, "v4f", field_type, 4);
@@ -135,5 +132,8 @@ initialize_tdesc_i386_linux (void)
   tdesc_create_reg (feature, "xmm7", 39, 1, NULL, 128, "vec128");
   tdesc_create_reg (feature, "mxcsr", 40, 1, "vector", 32, "i386_mxcsr");
 
+  feature = tdesc_create_feature (result, "org.gnu.gdb.i386.linux");
+  tdesc_create_reg (feature, "orig_eax", 41, 1, NULL, 32, "int");
+
   tdesc_i386_linux = result;
 }
diff --git a/gdb/features/i386/i386-linux.xml b/gdb/features/i386/i386-linux.xml
index f9aa311..17f9a1a 100644
--- a/gdb/features/i386/i386-linux.xml
+++ b/gdb/features/i386/i386-linux.xml
@@ -12,6 +12,6 @@
   <architecture>i386</architecture>
   <osabi>GNU/Linux</osabi>
   <xi:include href="32bit-core.xml"/>
-  <xi:include href="32bit-linux.xml"/>
   <xi:include href="32bit-sse.xml"/>
+  <xi:include href="32bit-linux.xml"/>
 </target>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]