summaryrefslogtreecommitdiff
path: root/gdb/break-catch-syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/break-catch-syscall.c')
-rw-r--r--gdb/break-catch-syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c
index 58fc279440e..701645e9bc2 100644
--- a/gdb/break-catch-syscall.c
+++ b/gdb/break-catch-syscall.c
@@ -375,7 +375,7 @@ create_syscall_event_catchpoint (int tempflag, std::vector<int> &&filter,
c = new syscall_catchpoint ();
init_catchpoint (c, gdbarch, tempflag, NULL, ops);
- c->syscalls_to_be_caught = filter;
+ c->syscalls_to_be_caught = std::move (filter);
install_breakpoint (0, c, 1);
}