This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 8/9] Add a missing break in record_linux_system_call
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Sat, 21 Apr 2018 12:30:55 -0600
- Subject: [RFA 8/9] Add a missing break in record_linux_system_call
- References: <20180421183056.29292-1-tom@tromey.com>
This adds a "break" at the end of the RECORD_SYS_RECVFROM case in
record_linux_system_call. This seemed correct to me.
ChangeLog
2018-04-21 Tom Tromey <tom@tromey.com>
* linux-record.c (record_linux_system_call) <case
RECORD_SYS_RECVFROM>: Add "break".
---
gdb/ChangeLog | 5 +++++
gdb/linux-record.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/gdb/linux-record.c b/gdb/linux-record.c
index 1e332e1dd9..1d0735e41a 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.13.6