diff options
author | Hui Zhu <teawater@gmail.com> | 2010-03-16 17:01:21 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2010-03-16 17:01:21 +0000 |
commit | 46956e396d10846a7ab0374a71bb1204bdd4d0d5 (patch) | |
tree | 310d71ae10492ff9f215c0bf0e793a98995a8a5a /gdb/linux-record.c | |
parent | d959f8f0a34a0ddc4b66a767f3b5b9580d57f602 (diff) | |
download | binutils-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.c | 4 |
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; |