diff options
author | Tom Tromey <tom@tromey.com> | 2018-04-05 15:37:56 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-04 22:04:46 -0600 |
commit | 449b1ac7ad5f3da9ef689c91144aa057cb253df6 (patch) | |
tree | 682e87a058cbaa1bd97bd3f4177f0c7e7f58e659 /gdb | |
parent | 15c9ffd6977a93869243dce04988cbaa8340bb00 (diff) | |
download | fsf-binutils-gdb-449b1ac7ad5f3da9ef689c91144aa057cb253df6.zip fsf-binutils-gdb-449b1ac7ad5f3da9ef689c91144aa057cb253df6.tar.gz fsf-binutils-gdb-449b1ac7ad5f3da9ef689c91144aa057cb253df6.tar.bz2 |
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 <tom@tromey.com>
* linux-record.c (record_linux_system_call) <case
RECORD_SYS_RECVFROM>: Add "break".
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/linux-record.c | 1 |
2 files changed, 6 insertions, 0 deletions
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 <tom@tromey.com> + * linux-record.c (record_linux_system_call) <case + RECORD_SYS_RECVFROM>: Add "break". + +2018-05-04 Tom Tromey <tom@tromey.com> + * mi/mi-main.c (mi_cmd_trace_frame_collected) <REGISTERS_FORMAT>: Add missing "break". * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals) <NO_FRAME_FILTERS>: 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); |