changeset 64555:8a35276b0990

(report-emacs-bug): Request that backtraces are included when reporting an emacs crash, and tell about the DEBUG file.
author Kim F. Storm <storm@cua.dk>
date Thu, 21 Jul 2005 08:56:04 +0000
parents c5775f02760e
children a0c4a6096f55
files lisp/mail/emacsbug.el
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/emacsbug.el	Thu Jul 21 08:55:14 2005 +0000
+++ b/lisp/mail/emacsbug.el	Thu Jul 21 08:56:04 2005 +0000
@@ -125,9 +125,18 @@
 
     (insert "\n\n")
     (setq user-point (point))
-    (insert "\n\n\n")
+    (insert "\n\n")
+
+    (insert "If emacs crashed, and you have the emacs process in the gdb debugger,\n"
+	    "please include the output from the following gdb commands:\n"
+	    "    `bt full' and `xbacktrace'.\n")
 
-    (insert "In " (emacs-version) "\n")
+    (let ((debug-file (expand-file-name "DEBUG" data-directory)))
+      (if (file-readable-p debug-file)
+	(insert "If you would like to further debug the crash, please read the file\n"
+		debug-file " for instructions.\n")))
+
+    (insert "\n\nIn " (emacs-version) "\n")
     (if (fboundp 'x-server-vendor)
 	(condition-case nil
 	    (insert "X server distributor `" (x-server-vendor) "', version "