From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Miles" To: Cc: "GDB Mailing List" , Subject: RE: capture gdb output Date: Thu, 19 Apr 2001 06:30:00 -0000 Message-id: References: X-SW-Source: 2001-04/msg00141.html Nicolas, > > I need to be able to capture all the output from my gdb session > into some > > type of log file. It seems like this is a feature that would definitely > > exist, but I have been searching the sources and documentation for any > > mention of this capability with no luck. > > Isn't sufficient to use "gdb ... 2>&1 | tee log.txt" ? I just tried this and it works great! My colleagues and I thank you so much! I would still be interested in whether there is a function in gdb to open or close a log file during a session? thanks, michael miles