This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: getting gdb output redirected to a file
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Joe Knowling <linux_joe2003 at yahoo dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 14 Nov 2002 13:22:41 -0500
- Subject: Re: getting gdb output redirected to a file
- References: <20021114181655.19356.qmail@web9301.mail.yahoo.com>
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