From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19340 invoked by alias); 18 Jun 2004 19:55:51 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19333 invoked from network); 18 Jun 2004 19:55:50 -0000 Received: from unknown (HELO mclean.mail.mindspring.net) (207.69.200.57) by sourceware.org with SMTP; 18 Jun 2004 19:55:50 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by mclean.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BbPSn-0008HG-00; Fri, 18 Jun 2004 15:55:50 -0400 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 0C0214B104; Fri, 18 Jun 2004 15:55:49 -0400 (EDT) To: eliz@gnu.org Subject: Re: [rfc/doco] bug reporting: mention 'script' command Cc: gdb-patches@sources.redhat.com Message-Id: <20040618195549.0C0214B104@berman.michael-chastain.com> Date: Fri, 18 Jun 2004 19:55:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-06/txt/msg00442.txt.bz2 Okay, here's draft #2. I mentioned Emacs as well as 'script'. I added a @pindex and a @cindex. Testing: Rebuilt gdb.info and checked the output files. Okay to commit? Michael C 2004-06-17 Michael Chastain gdb.texinfo (Bug Reporting): Mention session recording, with the script command or Emacs. Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.206 diff -c -3 -p -r1.206 gdb.texinfo *** gdb.texinfo 14 Jun 2004 22:26:33 -0000 1.206 --- gdb.texinfo 18 Jun 2004 19:51:25 -0000 *************** ours fails to crash, we would know that *** 18960,18965 **** --- 18960,18975 ---- us. If you had not told us to expect a crash, then we would not be able to draw any conclusion from our observations. + @pindex script + @cindex recording a session script + To collect all this information, you can use a session recording program + such as @command{script}, which is available on many Unix systems. + Just run your @value{GDBN} session inside @command{script} and then + include the @file{typescript} file with your bug report. + + Another way to record a @value{GDBN} session is to run @value{GDBN} + inside Emacs and then save the entire buffer to a file. + @item If you wish to suggest changes to the @value{GDBN} source, send us context diffs. If you even discuss something in the @value{GDBN} source, refer to