linux-record: Squash cases with identical handling
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Tue, 19 Apr 2016 14:53:40 +0000 (16:53 +0200)
committerAndreas Arnez <arnez@linux.vnet.ibm.com>
Tue, 19 Apr 2016 14:53:40 +0000 (16:53 +0200)
commit73e6209faecc21516a981ed86a27b259f506098c
treeb1bc95d2e1a91797617148fa29c89e861fb57dbf
parentf42bf748e417cf9120fc57d144b6eaaf3adda247
linux-record: Squash cases with identical handling

In record_linux_system_call there are some cases with identical
handling.  These are merged together to reduce code duplication.

gdb/ChangeLog:

* linux-record.c (record_linux_system_call): Merge handling for
readlink/recv/read and pipe/pipe2.
gdb/ChangeLog
gdb/linux-record.c