From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43974 invoked by alias); 6 Sep 2016 23:52:12 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 43950 invoked by uid 89); 6 Sep 2016 23:52:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (176.31.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 06 Sep 2016 23:52:01 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb/gdb-7.12-branch] Introduce make_cleanup_restore_current_ui From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Message-Id: <751b0f7dcfee83f60c1224790b9665c92be50fd8@gdb-build> Date: Wed, 07 Sep 2016 02:09:00 -0000 X-SW-Source: 2016-q3/txt/msg03884.txt.bz2 *** TEST RESULTS FOR COMMIT 751b0f7dcfee83f60c1224790b9665c92be50fd8 *** Author: Pedro Alves Branch: gdb-7.12-branch Commit: 751b0f7dcfee83f60c1224790b9665c92be50fd8 Introduce make_cleanup_restore_current_ui Just a tidy, no functional changes. gdb/ChangeLog: 2016-09-06 Pedro Alves * event-top.c (restore_ui_cleanup): Now static. (make_cleanup_restore_current_ui): New function. (switch_thru_all_uis_init): Use it. * infcall.c (call_thread_fsm_should_stop): Use it. * infrun.c (fetch_inferior_event): Use it. * top.c (new_ui_command): Use it. * top.h (restore_ui_cleanup): Delete declaration. (make_cleanup_restore_current_ui): New declaration.