1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00

(report-emacs-bug): Request that backtraces are

included when reporting an emacs crash, and tell about the DEBUG file.
This commit is contained in:
Kim F. Storm 2005-07-21 08:56:04 +00:00
parent 5543c8b704
commit 3a7f4c189c

View File

@ -125,9 +125,18 @@ usually do not have translators to read other languages for them.\n\n")
(insert "\n\n")
(setq user-point (point))
(insert "\n\n\n")
(insert "\n\n")
(insert "In " (emacs-version) "\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")
(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 "