From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28407 invoked by alias); 14 Nov 2002 18:21:27 -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 28400 invoked from network); 14 Nov 2002 18:21:25 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 14 Nov 2002 18:21:25 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18COcF-0007q6-00; Thu, 14 Nov 2002 12:21:23 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18COdV-0007pq-00; Thu, 14 Nov 2002 13:22:41 -0500 Date: Thu, 14 Nov 2002 10:21:00 -0000 From: Daniel Jacobowitz To: Joe Knowling Cc: gdb@sources.redhat.com Subject: Re: getting gdb output redirected to a file Message-ID: <20021114182241.GA30103@nevyn.them.org> Mail-Followup-To: Joe Knowling , gdb@sources.redhat.com References: <20021114181655.19356.qmail@web9301.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021114181655.19356.qmail@web9301.mail.yahoo.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-11/txt/msg00172.txt.bz2 On Thu, Nov 14, 2002 at 10:16:55AM -0800, Joe Knowling wrote: > Hi > Ive got a rather basic question. Is there a command > analogous to fprintf in C to dump output to a file. > Eg. > after starting gdb and attaching to a process I say > > source xyz > > where xyz is a file containing a list of commands for > gdb to execute. Now instead of doing printf's and > seeing the data in the gdb window is there an > alternative like fprintf that can dump output to a > while > > any help would be appreciated Not yet. I submitted some patches for this but they got stalled. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer