Remove cleanups from prepare_execute_command
authorTom Tromey <tom@tromey.com>
Mon, 16 Oct 2017 23:26:09 +0000 (17:26 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 19 Oct 2017 21:58:11 +0000 (15:58 -0600)
commit54f70bc14586878ee14891ecb11efb8a90405874
tree6553f42c303cf2756cb6196bb7f1ad62cfe93860
parent49a4ce2eae231ae627ab9a312256c6e402b5a27e
Remove cleanups from prepare_execute_command

This changes prepare_execute_command to return a scoped_value_mark
rather than a cleanup.

ChangeLog
2017-10-19  Tom Tromey  <tom@tromey.com>

* mi/mi-main.c (mi_cmd_execute): Update.
* top.h (prepare_execute_command): Return scoped_value_mark.
* value.h (class scoped_value_mark): Use DISABLE_COPY_AND_ASSIGN.
Add move constructor.
* top.c (prepare_execute_command): Return scoped_value_mark.
(execute_command): Update.
gdb/ChangeLog
gdb/mi/mi-main.c
gdb/top.c
gdb/top.h
gdb/value.h
This page took 0.036388 seconds and 4 git commands to generate.