aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/trouble.texi19
1 files changed, 16 insertions, 3 deletions
diff --git a/man/trouble.texi b/man/trouble.texi
index 2c815926796..ff846821ff2 100644
--- a/man/trouble.texi
+++ b/man/trouble.texi
@@ -351,12 +351,25 @@ visits the file but gets the text from the auto-save file.
351recover are present in Emacs buffers. You should then save them. Only 351recover are present in Emacs buffers. You should then save them. Only
352this---saving them---updates the files themselves. 352this---saving them---updates the files themselves.
353 353
354
354 As a last resort, if you had buffers with content which were not 355 As a last resort, if you had buffers with content which were not
355associated with any files, or if the autosave was not recent enough to 356associated with any files, or if the autosave was not recent enough to
356have recorded important changes, you can use the 357have recorded important changes, you can use the
357@file{etc/emacs-buffer.gdb} script with @code{gdb} to retrieve them 358@file{etc/emacs-buffer.gdb} script with GDB (the GNU Debugger) to
358from a core dump--provided that a core dump was saved, and that the 359retrieve them from a core dump--provided that a core dump was saved,
359emacs executable was not stripped of its debugging symbols. 360and that the Emacs executable was not stripped of its debugging
361symbols.
362
363 To use this script, run @code{gdb} with the file name of your
364Emacs executable and the file name of the core dump, e.g. @samp{gdb
365/usr/bin/emacs core.emacs}. At the @code{(gdb)} prompt, load the
366recovery script: @samp{source /usr/src/emacs/etc/emacs-buffer.gdb}.
367You can now use the commands @code{ybuffer-list} and
368@code{ysave-buffer} to list and save buffers. The @code{ysave-buffer}
369command takes a buffer number (as listed by @code{ybuffer-list}) and a
370file name to which to write the buffer contents. You should use a
371file name which does not already exist; no backups of the previous
372contents of the file will be saved, if any.
360 373
361@node Emergency Escape 374@node Emergency Escape
362@subsection Emergency Escape 375@subsection Emergency Escape