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-Tag: binutils-2_31~530 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=449b1ac7ad5f3da9ef689c91144aa057cb253df6;p=external%2Fbinutils.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 c2f521c..27c4213 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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) : Add missing "break". * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals) : diff --git a/gdb/linux-record.c b/gdb/linux-record.c index 1e332e1..1d0735e 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);