components/gdb/patches/gdb.features.sparc64-cp0.xml.patch
author Ivo Raisr <ivo.raisr@oracle.com>
Sun, 13 Nov 2016 21:06:55 -0800
changeset 7458 4e46474a987f
parent 7457 8b915debed11
permissions -rw-r--r--
25088002 %fsr and %fprs registers should be 64 bit for sparcv9 target description

# XML representation of 64-bit SPARC control registers.
--- /dev/null	2013-10-05 19:42:45.000000000 -0700
+++ gdb-7.6/gdb/features/sparc64-cp0.xml	2013-08-28 00:21:25.000000000 -0700
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<!-- Copyright (c) 2013, 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
+     notice and this notice are preserved.  -->
+
+<!DOCTYPE feature SYSTEM "gdb-target.dtd">
+<feature name="org.gnu.gdb.sparc.cp0">
+  <reg name="pc" bitsize="64" type="uint64" regnum="80"/>
+  <reg name="npc" bitsize="64" type="uint64" regnum="81"/>
+  <reg name="state" bitsize="64" type="uint64" regnum="82"/>
+  <reg name="fsr" bitsize="64" type="uint64" regnum="83"/>
+  <reg name="fprs" bitsize="64" type="uint64" regnum="84"/>
+  <reg name="y" bitsize="64" type="uint64" regnum="85"/>
+</feature>
+