*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / spu-tdep.c
index ed676fe39e2a28c6937427b12010960037126eef..9fcb118592835ec276f4a448cda4835647bc9fe6 100644 (file)
@@ -1,5 +1,5 @@
 /* SPU target-dependent code for GDB, the GNU debugger.
-   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
 
    Contributed by Ulrich Weigand <uweigand@de.ibm.com>.
    Based on a port by Sid Manning <sid@us.ibm.com>.
@@ -94,7 +94,7 @@ static struct cmd_list_element *infospucmdlist = NULL;
 /* Registers.  */
 
 static const char *
-spu_register_name (int reg_nr)
+spu_register_name (struct gdbarch *gdbarch, int reg_nr)
 {
   static char *register_names[] = 
     {
@@ -700,7 +700,7 @@ spu_analyze_prologue (CORE_ADDR start_pc, CORE_ADDR end_pc,
 
 /* Return the first instruction after the prologue starting at PC.  */
 static CORE_ADDR
-spu_skip_prologue (CORE_ADDR pc)
+spu_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
 {
   struct spu_prologue_data data;
   return spu_analyze_prologue (pc, (CORE_ADDR)-1, &data);
@@ -708,7 +708,8 @@ spu_skip_prologue (CORE_ADDR pc)
 
 /* Return the frame pointer in use at address PC.  */
 static void
-spu_virtual_frame_pointer (CORE_ADDR pc, int *reg, LONGEST *offset)
+spu_virtual_frame_pointer (struct gdbarch *gdbarch, CORE_ADDR pc,
+                          int *reg, LONGEST *offset)
 {
   struct spu_prologue_data data;
   spu_analyze_prologue (pc, (CORE_ADDR)-1, &data);
@@ -1247,7 +1248,7 @@ spu_return_value (struct gdbarch *gdbarch, struct type *type,
 /* Breakpoints.  */
 
 static const gdb_byte *
-spu_breakpoint_from_pc (CORE_ADDR * pcptr, int *lenptr)
+spu_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR * pcptr, int *lenptr)
 {
   static const gdb_byte breakpoint[] = { 0x00, 0x00, 0x3f, 0xff };
 
@@ -1605,9 +1606,9 @@ info_spu_signal_command (char *args, int from_tty)
        printf_filtered (_("Signal 1 not pending "));
 
       if (signal1_type)
-       printf_filtered (_("(Type Overwrite)\n"));
-      else
        printf_filtered (_("(Type Or)\n"));
+      else
+       printf_filtered (_("(Type Overwrite)\n"));
 
       if (signal2_pending)
        printf_filtered (_("Signal 2 control word 0x%s "), phex (signal2, 4));
@@ -1615,9 +1616,9 @@ info_spu_signal_command (char *args, int from_tty)
        printf_filtered (_("Signal 2 not pending "));
 
       if (signal2_type)
-       printf_filtered (_("(Type Overwrite)\n"));
-      else
        printf_filtered (_("(Type Or)\n"));
+      else
+       printf_filtered (_("(Type Overwrite)\n"));
     }
 
   do_cleanups (chain);
This page took 0.024105 seconds and 4 git commands to generate.