aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-06-19 17:33:44 +0000
committerMichael Chastain <mec@google.com>2004-06-19 17:33:44 +0000
commite0c07bf008582875b867bdb9cfb572c6eafe99cf (patch)
tree3fd0444766db91b7aca37775804d6184652e2279 /gdb
parent375db92b3927ae6976bc1a5acda4b484f79b7e1b (diff)
downloadgdb-e0c07bf008582875b867bdb9cfb572c6eafe99cf.zip
gdb-e0c07bf008582875b867bdb9cfb572c6eafe99cf.tar.gz
gdb-e0c07bf008582875b867bdb9cfb572c6eafe99cf.tar.bz2
2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
gdb.texinfo (Bug Reporting): Mention session recording, with the script command or Emacs.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo10
2 files changed, 15 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 4f8218e..6934004 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index e5a6f2e..2ae7472 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