21531954 gdbserver support subtly broken for sparcv9
authorIvo Raisr <ivo.raisr@oracle.com>
Thu, 30 Jul 2015 09:04:18 -0700
changeset 4731 88830c57334b
parent 4730 72b018b2d0fc
child 4732 d072001cb0ea
21531954 gdbserver support subtly broken for sparcv9
components/gdb/patches/gdb.features.sparc64-cpu.xml.patch
components/gdb/patches/gdb.features.sparc64-solaris.xml.patch
--- a/components/gdb/patches/gdb.features.sparc64-cpu.xml.patch	Mon Aug 03 02:40:05 2015 -0700
+++ b/components/gdb/patches/gdb.features.sparc64-cpu.xml.patch	Thu Jul 30 09:04:18 2015 -0700
@@ -41,6 +41,6 @@
 +  <reg name="i3" bitsize="64" type="uint64" regnum="27"/>
 +  <reg name="i4" bitsize="64" type="uint64" regnum="28"/>
 +  <reg name="i5" bitsize="64" type="uint64" regnum="29"/>
-+  <reg name="fp" bitsize="32" type="uint64" regnum="30"/>
++  <reg name="fp" bitsize="64" type="uint64" regnum="30"/>
 +  <reg name="i7" bitsize="64" type="uint64" regnum="31"/>
 +</feature>
--- a/components/gdb/patches/gdb.features.sparc64-solaris.xml.patch	Mon Aug 03 02:40:05 2015 -0700
+++ b/components/gdb/patches/gdb.features.sparc64-solaris.xml.patch	Thu Jul 30 09:04:18 2015 -0700
@@ -3,7 +3,7 @@
 +++ gdb-7.6/gdb/features/sparc64-solaris.xml	2013-08-28 00:21:05.000000000 -0700
 @@ -0,0 +1,19 @@
 +<?xml version="1.0"?>
-+<!-- Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
++<!-- Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 +
 +     Copying and distribution of this file, with or without modification,
 +     are permitted in any medium without royalty provided the copyright
@@ -11,7 +11,7 @@
 +
 +<!DOCTYPE target SYSTEM "gdb-target.dtd">
 +<target>
-+  <architecture>sparc</architecture>
++  <architecture>sparc:v9</architecture>
 +  <osabi>Solaris</osabi>
 +  <xi:include href="sparc64-cpu.xml"/>
 +  <xi:include href="sparc64-cp0.xml"/>