From 449b1ac7ad5f3da9ef689c91144aa057cb253df6 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 5 Apr 2018 15:37:56 -0600 Subject: [PATCH] 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". --- gdb/ChangeLog | 5 +++++ gdb/linux-record.c | 1 + 2 files changed, 6 insertions(+) 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); -- 2.30.2