This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove cleanups from prepare_execute_command
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 19 Oct 2017 18:57:37 -0400
- Subject: [binutils-gdb] Remove cleanups from prepare_execute_command
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 54f70bc14586878ee14891ecb11efb8a90405874 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 54f70bc14586878ee14891ecb11efb8a90405874
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.