summaryrefslogtreecommitdiff
path: root/gdb/linux-record.c
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 /gdb/linux-record.c
parentd959f8f0a34a0ddc4b66a767f3b5b9580d57f602 (diff)
downloadbinutils-gdb-46956e396d10846a7ab0374a71bb1204bdd4d0d5.tar.gz
2010-03-16 Holger Hans Peter Freyther <zecke@selfish.org>
* linux-record.c (record_linux_msghdr): Remove unintended semicolons.
Diffstat (limited to 'gdb/linux-record.c')
-rw-r--r--gdb/linux-record.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linux-record.c b/gdb/linux-record.c
index 1c6aa9ff042..74ef9bd0132 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;