OSDN Git Service

2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
authorchastain <chastain>
Sat, 19 Jun 2004 17:33:44 +0000 (17:33 +0000)
committerchastain <chastain>
Sat, 19 Jun 2004 17:33:44 +0000 (17:33 +0000)
gdb.texinfo (Bug Reporting): Mention session recording,
with the script command or Emacs.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 4f8218e..6934004 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
+
+       gdb.texinfo (Bug Reporting): Mention session recording,
+       with the script command or Emacs.
+
 2004-06-18  Andrew Cagney  <cagney@gnu.org>
 
        * gdbint.texinfo (Target Architecture Definition): Deprecate
index e5a6f2e..2ae7472 100644 (file)
@@ -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