]> code.delx.au - gnu-emacs/commitdiff
Improve addr2line suggestion.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Jan 2013 22:48:47 +0000 (14:48 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Jan 2013 22:48:47 +0000 (14:48 -0800)
Fixes: debbugs:13445
doc/emacs/ChangeLog
doc/emacs/trouble.texi

index a3725185ac23a1cdeb1f781e1922a7b8af3632b1..3b7ab6527aa9edf158647706318155f17908ccfe 100644 (file)
@@ -1,9 +1,10 @@
 2013-01-19  Paul Eggert  <eggert@cs.ucla.edu>
 
-       * trouble.texi (Crashing): Suggest -p for recent addrline.  (Bug#13445)
-       Without it, I don't see function names.  Older addrlines will die
-       out sooner or later, so tailor the suggestion to recent addrline
-       and put in a comment about older ones.
+       * trouble.texi (Crashing): Suggest -p for newer addr2line.  (Bug#13445)
+       Without it, I don't see function names.  Older addr2line
+       implementations will die out sooner or later, so tailor the
+       first suggestion to recent addr2line, with a followup about
+       older ones.
 
 2013-01-19  Glenn Morris  <rgm@gnu.org>
 
index 32a3ee6a3c3c4225e77f6f93a235f933182e5283..97c0ff97530c439a4717256d07f98e3aeb7d18fd 100644 (file)
@@ -326,7 +326,6 @@ backtrace with source-code line numbers:
 @example
 sed -n 's/.*\[\(.*\)]$/\1/p' @var{backtrace} |
   addr2line -C -f -i -p -e @var{bindir}/@var{emacs-binary}
-# Omit '-p' for binutils 2.20 and earlier.
 @end example
 
 @noindent
@@ -334,9 +333,9 @@ Here, @var{backtrace} is the name of a text file containing a copy of
 the backtrace, @var{bindir} is the name of the directory that
 contains the Emacs executable, and @var{emacs-binary} is the name of
 the Emacs executable file, normally @file{emacs} on GNU and Unix
-systems and @file{emacs.exe} on MS-Windows and MS-DOS.@footnote{You
-may wish to add the @option{-p} option, if your version of
-@command{addr2line} supports it.}
+systems and @file{emacs.exe} on MS-Windows and MS-DOS.  Omit the
+@option{-p} option if your version of @command{addr2line} is too old
+to have it.
 
 @cindex core dump
   Optionally, Emacs can generate a @dfn{core dump} when it crashes, on