# HG changeset patch # User Kim F. Storm # Date 1121936164 0 # Node ID 8a35276b0990381610cfa9ad3b0e74dc82488ff1 # Parent c5775f02760ed89c6589ed3751cb37aaf010bf0d (report-emacs-bug): Request that backtraces are included when reporting an emacs crash, and tell about the DEBUG file. diff -r c5775f02760e -r 8a35276b0990 lisp/mail/emacsbug.el --- 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 "