components/gdb/patches/gdb.features.sparc64-cp0.xml.patch
author Rich Burridge <rich.burridge@oracle.com>
Fri, 07 Apr 2017 10:04:47 -0700
changeset 7848 75d3cd4c779b
parent 7458 4e46474a987f
permissions -rw-r--r--
25427170 event-config.h definitions are valid just for 64bit apps

# 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>
+