This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
getting gdb output redirected to a file
- From: Joe Knowling <linux_joe2003 at yahoo dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 14 Nov 2002 10:16:55 -0800 (PST)
- Subject: getting gdb output redirected to a file
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