aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-10-02 17:34:32 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-10-02 17:34:32 +0000
commitb94c4f7d5f1d9205533b12731e8edd9ce373e2d0 (patch)
tree469c2ca22b8201ff4c9af780b7a84bfe4f03c5ce
parent9612b5ec136fc465a91c191be08b37060bb18e2f (diff)
downloadgdb-b94c4f7d5f1d9205533b12731e8edd9ce373e2d0.zip
gdb-b94c4f7d5f1d9205533b12731e8edd9ce373e2d0.tar.gz
gdb-b94c4f7d5f1d9205533b12731e8edd9ce373e2d0.tar.bz2
2007-10-02 Markus Deuling <deuling@de.ibm.com>
* spu-tdep.c (info_spu_signal_command): Fix output for SPU signal.
-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);