From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24260 invoked by alias); 14 Nov 2002 18:17:30 -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 24107 invoked from network); 14 Nov 2002 18:17:22 -0000 Received: from unknown (HELO web9301.mail.yahoo.com) (216.136.129.50) by sources.redhat.com with SMTP; 14 Nov 2002 18:17:22 -0000 Message-ID: <20021114181655.19356.qmail@web9301.mail.yahoo.com> Received: from [156.153.254.10] by web9301.mail.yahoo.com via HTTP; Thu, 14 Nov 2002 10:16:55 PST Date: Thu, 14 Nov 2002 10:17:00 -0000 From: Joe Knowling Subject: getting gdb output redirected to a file To: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-11/txt/msg00171.txt.bz2 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 thanks Joe __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com