From ecde0368523614c61d36f3b528afba34152947a3 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 15 Jan 2013 21:11:10 -0500 Subject: [PATCH] * doc/emacs/trouble.texi (Crashing): Not all addr2line have -p. (Bug#13445) --- doc/emacs/ChangeLog | 2 ++ doc/emacs/trouble.texi | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 16820ee450..a50ebb7077 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,5 +1,7 @@ 2013-01-16 Glenn Morris + * trouble.texi (Crashing): Not all addr2line have -p. (Bug#13445) + * custom.texi (Custom Themes): Fix typo. 2013-01-05 Glenn Morris diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index 1d992354c9..81014d7d0d 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi @@ -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 -- 2.39.2