From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4812 invoked by alias); 22 Jun 2003 15:13:02 -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 27247 invoked from network); 22 Jun 2003 15:08:29 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 22 Jun 2003 15:08:29 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 559B62B5F; Sun, 22 Jun 2003 11:08:23 -0400 (EDT) Message-ID: <3EF5C667.8090201@redhat.com> Date: Sun, 22 Jun 2003 15:13:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Warkentin Cc: "Gdb@Sources.Redhat.Com" Subject: Re: ui-out question References: <027201c326d3$b480a2f0$0202040a@catdog> <3EDA3B0A.10603@redhat.com> <019401c329c5$a40d5860$2a00a8c0@dash> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00428.txt.bz2 > It's not that big of a problem but it's inconvenient. I'm monkeying around > with our target_create_inferior hook so that it will load a different > executable (set by the user) when the run command is issued. I'd like to > report that to the user along the lines of: > > Starting program: /cygdrive/k/test/float.x86 > Remote: /home/kewarken/61/test/float.x86 > > The only problem is that targ_create_inf doesn't take a from_tty argument so > my only option is just to print it blindly. I thought it would be nice if > the ui_out functions would automatically censor themselves if need be. For the moment, just send it to gdb_stdout using ui_file. Andrew