diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5adf4b7687..0310fccf8c 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 1c6aa9ff04..74ef9bd013 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;