This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Change captured_mi_execute_command to use scoped_restore
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 30 Sep 2017 10:16:01 -0400
- Subject: [binutils-gdb] Change captured_mi_execute_command to use scoped_restore
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 789c4b5ea14b0c441e6021f07503e61ccfacb427 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 789c4b5ea14b0c441e6021f07503e61ccfacb427
Change captured_mi_execute_command to use scoped_restore
Change captured_mi_execute_command to use a scoped_restore, removing a
cleanup. The old code copied the current token, but I don't believe
that is necessary.
gdb/ChangeLog
2017-09-29 Tom Tromey <tom@tromey.com>
* mi/mi-main.c (captured_mi_execute_command): Use scope_restore.