aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/spu-tdep.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 387661a..4eb0437 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-02 Markus Deuling <deuling@de.ibm.com>
+
+ * spu-tdep.c (info_spu_signal_command): Fix output for SPU signal.
+
2007-10-02 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
* tui/tui-interp.c (tui_init): Initialize tui's SIGWINCH
diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c
index ed676fe..4142739 100644
--- a/gdb/spu-tdep.c
+++ b/gdb/spu-tdep.c
@@ -1605,9 +1605,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 +1615,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);