diff options
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index b1130ac..9ff2bf8 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -10830,8 +10830,10 @@ until_break_command (const char *arg, int from_tty, int anywhere) breakpoints.emplace_back (std::move (location_breakpoint)); } - tp->thread_fsm = new until_break_fsm (command_interp (), tp->global_num, - std::move (breakpoints)); + tp->set_thread_fsm + (std::unique_ptr<thread_fsm> + (new until_break_fsm (command_interp (), tp->global_num, + std::move (breakpoints)))); if (lj_deleter) lj_deleter->release (); |