From: Tom Tromey Date: Thu, 5 Apr 2018 21:37:56 +0000 (-0600) Subject: Add a missing break in record_linux_system_call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=449b1ac7ad5f3da9ef689c91144aa057cb253df6;p=binutils-gdb.git Add a missing break in record_linux_system_call This adds a "break" at the end of the RECORD_SYS_RECVFROM case in record_linux_system_call. This seemed correct to me. 2018-05-04 Tom Tromey * linux-record.c (record_linux_system_call) : Add "break". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c2f521cd1e7..27c42130eb9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-05-04 Tom Tromey + + * linux-record.c (record_linux_system_call) : Add "break". + 2018-05-04 Tom Tromey * mi/mi-main.c (mi_cmd_trace_frame_collected) : diff --git a/gdb/linux-record.c b/gdb/linux-record.c index 1e332e1dd9d..1d0735e41ae 100644 --- a/gdb/linux-record.c +++ b/gdb/linux-record.c @@ -881,6 +881,7 @@ Do you want to stop the program?"), if (record_linux_sockaddr (regcache, tdep, tmpulongest, len)) return -1; } + break; case RECORD_SYS_RECV: regcache_raw_read_unsigned (regcache, tdep->arg2, &tmpulongest);