* doc/emacs/trouble.texi (Crashing): Not all addr2line have -p. (Bug#13445)

This commit is contained in:
Glenn Morris 2013-01-15 21:11:10 -05:00
parent f8a42ad607
commit ecde036852
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,7 @@
2013-01-16 Glenn Morris <rgm@gnu.org>
* trouble.texi (Crashing): Not all addr2line have -p. (Bug#13445)
* custom.texi (Custom Themes): Fix typo.
2013-01-05 Glenn Morris <rgm@gnu.org>

View file

@ -320,13 +320,14 @@ backtrace with source-code line numbers:
@example
sed -n 's/.*\[\(.*\)]$/\1/p' @var{backtrace} |
addr2line -Cfip -e @var{bindir}/emacs
addr2line -C -f -i -e @var{bindir}/emacs
@end example
@noindent
Here, @var{backtrace} is the name of a text file containing a copy of
the backtrace, and @var{bindir} is the name of the directory that
contains the Emacs executable.
contains the Emacs executable.@footnote{You may wish to add the
@option{-p} option, if your version of @command{addr2line} supports it.}
@cindex core dump
Optionally, Emacs can generate a @dfn{core dump} when it crashes. A