aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2016-06-20 16:16:31 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2016-07-06 06:09:40 -0700
commitfb36c6bf0a019e7b989e61710f17b5ce4ec27686 (patch)
tree479d01581c38d4a12ef53d068a39bc77ce1bbdbe
parentdb297a6501dc44c10bff096eddcc358b48810aad (diff)
downloadgdb-fb36c6bf0a019e7b989e61710f17b5ce4ec27686.zip
gdb-fb36c6bf0a019e7b989e61710f17b5ce4ec27686.tar.gz
gdb-fb36c6bf0a019e7b989e61710f17b5ce4ec27686.tar.bz2
Remove extraneous parentheses.
gdb/ChangeLog: * h8300-tdep.c (h8300_print_register): Remove extraneous parentheses.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/h8300-tdep.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5adf9a8..6a9ebbd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2016-07-06 John Baldwin <jhb@FreeBSD.org>
+ * h8300-tdep.c (h8300_print_register): Remove extraneous parentheses.
+
+2016-07-06 John Baldwin <jhb@FreeBSD.org>
+
* ada-lang.c (ada_unpack_from_contents): Use unsigned constants with
left shifts.
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index d479a20..951f005 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -1051,7 +1051,7 @@ h8300_print_register (struct gdbarch *gdbarch, struct ui_file *file,
fprintf_filtered (file, "u> ");
if ((C | Z) == 1)
fprintf_filtered (file, "u<= ");
- if ((C == 0))
+ if (C == 0)
fprintf_filtered (file, "u>= ");
if (C == 1)
fprintf_filtered (file, "u< ");