aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2013-01-19 14:48:47 -0800
committerPaul Eggert2013-01-19 14:48:47 -0800
commitee271528bfa645727f03c2a3e04db73b72a76077 (patch)
tree089db95785be842559f1fa14485a160186c0ce3d
parentd7a0a7c9bddcf0b5005c392d5f00702d26cc5b9c (diff)
downloademacs-ee271528bfa645727f03c2a3e04db73b72a76077.tar.gz
emacs-ee271528bfa645727f03c2a3e04db73b72a76077.zip
Improve addr2line suggestion.
Fixes: debbugs:13445
-rw-r--r--doc/emacs/ChangeLog9
-rw-r--r--doc/emacs/trouble.texi7
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index a3725185ac2..3b7ab6527aa 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,9 +1,10 @@
12013-01-19 Paul Eggert <eggert@cs.ucla.edu> 12013-01-19 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * trouble.texi (Crashing): Suggest -p for recent addrline. (Bug#13445) 3 * trouble.texi (Crashing): Suggest -p for newer addr2line. (Bug#13445)
4 Without it, I don't see function names. Older addrlines will die 4 Without it, I don't see function names. Older addr2line
5 out sooner or later, so tailor the suggestion to recent addrline 5 implementations will die out sooner or later, so tailor the
6 and put in a comment about older ones. 6 first suggestion to recent addr2line, with a followup about
7 older ones.
7 8
82013-01-19 Glenn Morris <rgm@gnu.org> 92013-01-19 Glenn Morris <rgm@gnu.org>
9 10
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi
index 32a3ee6a3c3..97c0ff97530 100644
--- a/doc/emacs/trouble.texi
+++ b/doc/emacs/trouble.texi
@@ -326,7 +326,6 @@ backtrace with source-code line numbers:
326@example 326@example
327sed -n 's/.*\[\(.*\)]$/\1/p' @var{backtrace} | 327sed -n 's/.*\[\(.*\)]$/\1/p' @var{backtrace} |
328 addr2line -C -f -i -p -e @var{bindir}/@var{emacs-binary} 328 addr2line -C -f -i -p -e @var{bindir}/@var{emacs-binary}
329# Omit '-p' for binutils 2.20 and earlier.
330@end example 329@end example
331 330
332@noindent 331@noindent
@@ -334,9 +333,9 @@ Here, @var{backtrace} is the name of a text file containing a copy of
334the backtrace, @var{bindir} is the name of the directory that 333the backtrace, @var{bindir} is the name of the directory that
335contains the Emacs executable, and @var{emacs-binary} is the name of 334contains the Emacs executable, and @var{emacs-binary} is the name of
336the Emacs executable file, normally @file{emacs} on GNU and Unix 335the Emacs executable file, normally @file{emacs} on GNU and Unix
337systems and @file{emacs.exe} on MS-Windows and MS-DOS.@footnote{You 336systems and @file{emacs.exe} on MS-Windows and MS-DOS. Omit the
338may wish to add the @option{-p} option, if your version of 337@option{-p} option if your version of @command{addr2line} is too old
339@command{addr2line} supports it.} 338to have it.
340 339
341@cindex core dump 340@cindex core dump
342 Optionally, Emacs can generate a @dfn{core dump} when it crashes, on 341 Optionally, Emacs can generate a @dfn{core dump} when it crashes, on