From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20112 invoked by alias); 31 May 2003 11:31:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20083 invoked from network); 31 May 2003 11:31:56 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by sources.redhat.com with SMTP; 31 May 2003 11:31:56 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3p2/8.9.3) with ESMTP id HAA13828 for ; Sat, 31 May 2003 07:26:55 -0400 Received: from dash ([192.168.20.26]) by smtp.ott.qnx.com (8.8.8/8.6.12) with SMTP id HAA01365 for ; Sat, 31 May 2003 07:31:55 -0400 Message-ID: <007b01c32769$89fb1a10$2a00a8c0@dash> From: "Kris Warkentin" To: "Gdb@Sources.Redhat.Com" References: <027201c326d3$b480a2f0$0202040a@catdog> Subject: Re: ui-out question Date: Sat, 31 May 2003 11:31:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-SW-Source: 2003-05/txt/msg00428.txt.bz2 > I'm thinking that the from_tty might be useful for functions that want to > silently call other functions regardless of the overall setting. Something > like ui_out_push_output_state(0), ui_out_pop_output_state() would work for > temporarily shutting down output in this case which I believe is somewhat > rare. In re-reading this, I realize that it's not clear what I meant. The only time one might need from_tty to be different from what has been used throughout that session would be if a function had a specific desire to make a silent call. Since I believe this to be a rare case (correct me if I'm wrong), the push/pop thing would shut off the output temporarily, eliminating the need for passing from_tty about. cheers, Kris