aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2010-03-16 17:01:21 +0000
committerHui Zhu <teawater@gmail.com>2010-03-16 17:01:21 +0000
commit46956e396d10846a7ab0374a71bb1204bdd4d0d5 (patch)
tree310d71ae10492ff9f215c0bf0e793a98995a8a5a
parentd959f8f0a34a0ddc4b66a767f3b5b9580d57f602 (diff)
downloadgdb-46956e396d10846a7ab0374a71bb1204bdd4d0d5.zip
gdb-46956e396d10846a7ab0374a71bb1204bdd4d0d5.tar.gz
gdb-46956e396d10846a7ab0374a71bb1204bdd4d0d5.tar.bz2
2010-03-16 Holger Hans Peter Freyther <zecke@selfish.org>
* linux-record.c (record_linux_msghdr): Remove unintended semicolons.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/linux-record.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5adf4b7..0310fcc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-16 Holger Hans Peter Freyther <zecke@selfish.org>
+
+ * linux-record.c (record_linux_msghdr): Remove unintended semicolons.
+
2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
* MAINTAINERS: Update my email address.
diff --git a/gdb/linux-record.c b/gdb/linux-record.c
index 1c6aa9f..74ef9bd 100644
--- a/gdb/linux-record.c
+++ b/gdb/linux-record.c
@@ -192,7 +192,7 @@ record_linux_msghdr (struct regcache *regcache,
tmpint = (int) extract_unsigned_integer (iov + tdep->size_pointer,
tdep->size_size_t,
byte_order);
- if (record_arch_list_add_mem (tmpaddr, tmpint));
+ if (record_arch_list_add_mem (tmpaddr, tmpint))
return -1;
addr += tdep->size_iovec;
}
@@ -203,7 +203,7 @@ record_linux_msghdr (struct regcache *regcache,
addr = extract_unsigned_integer (a, tdep->size_pointer, byte_order);
a += tdep->size_pointer;
tmpint = (int) extract_unsigned_integer (a, tdep->size_size_t, byte_order);
- if (record_arch_list_add_mem ((CORE_ADDR) addr, tmpint));
+ if (record_arch_list_add_mem ((CORE_ADDR) addr, tmpint))
return -1;
return 0;