From e0c07bf008582875b867bdb9cfb572c6eafe99cf Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Sat, 19 Jun 2004 17:33:44 +0000 Subject: [PATCH] 2004-06-19 Michael Chastain gdb.texinfo (Bug Reporting): Mention session recording, with the script command or Emacs. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 4f8218e8fff..6934004d85f 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-19 Michael Chastain + + gdb.texinfo (Bug Reporting): Mention session recording, + with the script command or Emacs. + 2004-06-18 Andrew Cagney * gdbint.texinfo (Target Architecture Definition): Deprecate diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index e5a6f2e5512..2ae7472a74c 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -18960,6 +18960,16 @@ ours fails to crash, we would know that the bug was not happening for 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 -- 2.30.2