25087147 sparc and sparcv9 target description must not include restart register
authorIvo Raisr <ivo.raisr@oracle.com>
Mon, 05 Dec 2016 14:36:11 -0800
changeset 7459 f656417cfc7b
parent 7458 4e46474a987f
child 7460 ce0a4dac8adb
25087147 sparc and sparcv9 target description must not include restart register
components/gdb/patches/gdb.features.sparc-solaris.c.patch
components/gdb/patches/gdb.features.sparc-solaris.xml.patch
components/gdb/patches/gdb.features.sparc64-solaris.c.patch
components/gdb/patches/gdb.features.sparc64-solaris.xml.patch
--- a/components/gdb/patches/gdb.features.sparc-solaris.c.patch	Sun Nov 13 21:06:55 2016 -0800
+++ b/components/gdb/patches/gdb.features.sparc-solaris.c.patch	Mon Dec 05 14:36:11 2016 -0800
@@ -1,6 +1,6 @@
 --- /dev/null	2013-10-05 19:42:45.000000000 -0700
 +++ gdb-7.6/gdb/features/sparc-solaris.c	2013-08-28 00:21:38.000000000 -0700
-@@ -0,0 +1,117 @@
+@@ -0,0 +1,114 @@
 +/* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
 +  Original: sparc-solaris.xml */
 +
@@ -113,8 +113,5 @@
 +  tdesc_create_reg (feature, "d28", 60, 1, NULL, 64, "ieee_double");
 +  tdesc_create_reg (feature, "d30", 62, 1, NULL, 64, "ieee_double");
 +
-+  feature = tdesc_create_feature (result, "org.gnu.gdb.sparc.solaris");
-+  tdesc_create_reg (feature, "restart", 63, 1, "system", 32, "int");
-+
 +  tdesc_sparc_solaris = result;
 +}
--- a/components/gdb/patches/gdb.features.sparc-solaris.xml.patch	Sun Nov 13 21:06:55 2016 -0800
+++ b/components/gdb/patches/gdb.features.sparc-solaris.xml.patch	Mon Dec 05 14:36:11 2016 -0800
@@ -1,7 +1,7 @@
 # XML representation of 32-bit SPARC registers.
 --- /dev/null	2013-10-05 19:42:45.000000000 -0700
 +++ gdb-7.6/gdb/features/sparc-solaris.xml	2013-08-27 20:10:12.000000000 -0700
-@@ -0,0 +1,19 @@
+@@ -0,0 +1,15 @@
 +<?xml version="1.0"?>
 +<!-- Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
 +
@@ -16,8 +16,4 @@
 +  <xi:include href="sparc-cpu.xml"/>
 +  <xi:include href="sparc-cp0.xml"/>
 +  <xi:include href="sparc-fpu.xml"/>
-+
-+  <feature name="org.gnu.gdb.sparc.solaris">
-+    <reg name="restart" bitsize="32" group="system"/>
-+  </feature>
 +</target>
--- a/components/gdb/patches/gdb.features.sparc64-solaris.c.patch	Sun Nov 13 21:06:55 2016 -0800
+++ b/components/gdb/patches/gdb.features.sparc64-solaris.c.patch	Mon Dec 05 14:36:11 2016 -0800
@@ -1,6 +1,6 @@
 --- /dev/null	2013-10-05 19:42:45.000000000 -0700
 +++ gdb-7.6/gdb/features/sparc64-solaris.c	2013-08-28 00:21:38.000000000 -0700
-@@ -0,0 +1,115 @@
+@@ -0,0 +1,112 @@
 +/* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
 +  Original: sparc64-solaris.xml */
 +
@@ -111,8 +111,5 @@
 +  tdesc_create_reg (feature, "f60", 78, 1, NULL, 64, "ieee_double");
 +  tdesc_create_reg (feature, "f62", 79, 1, NULL, 64, "ieee_double");
 +
-+  feature = tdesc_create_feature (result, "org.gnu.gdb.sparc.solaris");
-+  tdesc_create_reg (feature, "restart", 86, 1, "system", 64, "int");
-+
 +  tdesc_sparc64_solaris = result;
 +}
--- a/components/gdb/patches/gdb.features.sparc64-solaris.xml.patch	Sun Nov 13 21:06:55 2016 -0800
+++ b/components/gdb/patches/gdb.features.sparc64-solaris.xml.patch	Mon Dec 05 14:36:11 2016 -0800
@@ -1,7 +1,7 @@
 # XML representation of 64-bit Solaris SPARC registers.
 --- /dev/null	2013-10-05 19:42:45.000000000 -0700
 +++ gdb-7.6/gdb/features/sparc64-solaris.xml	2013-08-28 00:21:05.000000000 -0700
-@@ -0,0 +1,19 @@
+@@ -0,0 +1,15 @@
 +<?xml version="1.0"?>
 +<!-- Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 +
@@ -16,8 +16,4 @@
 +  <xi:include href="sparc64-cpu.xml"/>
 +  <xi:include href="sparc64-cp0.xml"/>
 +  <xi:include href="sparc64-fpu.xml"/>
-+
-+  <feature name="org.gnu.gdb.sparc.solaris">
-+    <reg name="restart" bitsize="64" group="system" regname="86"/>
-+  </feature>
 +</target>