* syms.c (_bfd_stab_section_find_nearest_line): Look at the
[deliverable/binutils-gdb.git] / gdb / xtensa-tdep.h
index 4b219085217167b0b11ec251a144b8d786f68473..1765150e2aa02b687454b28f17297e1ada0544fd 100644 (file)
@@ -6,7 +6,7 @@
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
@@ -15,9 +15,7 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street, Fifth Floor,
-   Boston, MA 02110-1301, USA.  */
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
 /* XTENSA_TDEP_VERSION can/should be changed along with XTENSA_CONFIG_VERSION
@@ -44,6 +42,8 @@ typedef enum
 
 /*  Xtensa register group.  */
 
+#define XTENSA_MAX_COPROCESSOR 0x08  /* Number of Xtensa coprocessors.  */
+
 typedef enum 
 {
   xtRegisterGroupUnknown = 0,
@@ -58,6 +58,16 @@ typedef enum
   xtRegisterGroupFloat         = 0x0400,    /* Floating Point.  */
   xtRegisterGroupVectra                = 0x0800,    /* Vectra.  */
   xtRegisterGroupSystem                = 0x1000,    /* System.  */
+
+  xtRegisterGroupCP0       = 0x01000000,    /* CP0.  */
+  xtRegisterGroupCP1       = 0x02000000,    /* CP1.  */
+  xtRegisterGroupCP2       = 0x04000000,    /* CP2.  */
+  xtRegisterGroupCP3       = 0x08000000,    /* CP3.  */
+  xtRegisterGroupCP4       = 0x10000000,    /* CP4.  */
+  xtRegisterGroupCP5       = 0x20000000,    /* CP5.  */
+  xtRegisterGroupCP6       = 0x40000000,    /* CP6.  */
+  xtRegisterGroupCP7       = 0x80000000,    /* CP7.  */
+
 } xtensa_register_group_t;
 
 
This page took 0.025477 seconds and 4 git commands to generate.