X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Fri, 03 Dec 2004 10:41:50 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: fdonahoe AT wilkes DOT edu Message-ID: <01c4d914$Blat.v2.2.2$1417e4a0@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 CC: djgpp-workers AT delorie DOT com In-reply-to: <1102024669.41af8fdd0e7fb@webmail.wilkes.edu> (fdonahoe AT wilkes DOT edu) Subject: Re: Bison 1.875 References: <1102024669 DOT 41af8fdd0e7fb AT webmail DOT wilkes DOT edu> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Thu, 2 Dec 2004 16:57:49 -0500 > From: fdonahoe AT wilkes DOT edu > Cc: Workers List > > > The obvious way: redirect GDB's output to a file, like this: > > > > gdb ./info/ginfo.exe > gdb.session > > > > The downside is that you won't see GDB's prompts etc. as well, > > but if you know exactly what commands to type, you should be > > able to type them blindly. > > I had rejected that method which seemed to me like wearing gloves > to seek a candle in a china closet at night during a power outage. > This seems, in retrospect, a fair assessment.;=) You asked a question and I honestly tried to help you find an answer. Your response sounds like saying ``your advice is useless,'' which will cause me to think twice next time before answering. More to the point, I will be more than happy if you (or someone else) codes a GDB feature that can duplicate all the input and output of an interactive session to a file. I even promise to get it through the GDB patch review process and commit it to the GDB CVS. So please don't hesitate to volunteer.