* infrun.c (handle_inferior_event): Clear trap_expected after
[deliverable/binutils-gdb.git] / gdb / spu-tdep.h
index 7d0df185391f5fda87e6a4d02fa61a872769babc..4c75be562e81938a83329b32532a82818a035c57 100644 (file)
@@ -1,11 +1,11 @@
 /* SPU target-dependent code for GDB, the GNU debugger.
-   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    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,
    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/>.  */
 
 #ifndef SPU_TDEP_H
 #define SPU_TDEP_H
 
 /* Number of registers.  */
 #define SPU_NUM_REGS         130
-#define SPU_NUM_PSEUDO_REGS  1
+#define SPU_NUM_PSEUDO_REGS  6
 #define SPU_NUM_GPRS        128
 
 /* Register numbers of various important registers.  */
@@ -41,7 +39,12 @@ enum spu_regnum
   /* Special registers.  */
   SPU_ID_REGNUM = 128,         /* SPU ID register.  */
   SPU_PC_REGNUM = 129,         /* Next program counter.  */
-  SPU_SP_REGNUM = 130          /* Stack pointer (preferred slot).  */
+  SPU_SP_REGNUM = 130,         /* Stack pointer (preferred slot).  */
+  SPU_FPSCR_REGNUM = 131,      /* Floating point status/control register.  */
+  SPU_SRR0_REGNUM = 132,       /* SRR0 register.  */
+  SPU_LSLR_REGNUM = 133,       /* Local store limit register.  */
+  SPU_DECR_REGNUM = 134,       /* Decrementer value.  */
+  SPU_DECR_STATUS_REGNUM = 135 /* Decrementer status.  */
 };
 
 /* Local store.  */
This page took 0.04552 seconds and 4 git commands to generate.