Use std::move in a few places
authorTom Tromey <tom@tromey.com>
Fri, 11 Aug 2017 16:14:16 +0000 (10:14 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 14 Aug 2017 14:24:15 +0000 (08:24 -0600)
commit2f5404b3581d125a96f14d92c4a7985e8156d1d6
tree8a4973610c65c8fcf5a0e730284c563209414c50
parent0c54f69295208331faab9bc5e995111a35672f9b
Use std::move in a few places

This patch adds std::move to few spots where it seems to be missing.

Regression tested by the buildbot.

ChangeLog
2017-08-14  Tom Tromey  <tom@tromey.com>

* break-catch-throw.c (handle_gnu_v3_exceptions): Use std::move.
* break-catch-syscall.c (create_syscall_event_catchpoint): Use
std::move.
* break-catch-sig.c (create_signal_catchpoint): Use std::move.
gdb/ChangeLog
gdb/break-catch-sig.c
gdb/break-catch-syscall.c
gdb/break-catch-throw.c