From 46956e396d10846a7ab0374a71bb1204bdd4d0d5 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Tue, 16 Mar 2010 17:01:21 +0000 Subject: [PATCH] 2010-03-16 Holger Hans Peter Freyther * linux-record.c (record_linux_msghdr): Remove unintended semicolons. --- gdb/ChangeLog | 4 ++++ gdb/linux-record.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5adf4b7687f..0310fccf8c7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-03-16 Holger Hans Peter Freyther + + * linux-record.c (record_linux_msghdr): Remove unintended semicolons. + 2010-03-16 Daniel Jacobowitz * MAINTAINERS: Update my email address. 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; -- 2.30.2