GNU bug report logs - #13445
add2rline usage in manual

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Tue, 15 Jan 2013 00:10:01 UTC

Severity: minor

Found in version 24.2.92

Fixed in version 24.2.93

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 13445 <at> debbugs.gnu.org
Subject: bug#13445: add2rline usage in manual
Date: Sat, 19 Jan 2013 14:16:40 -0800
With newer addr2line, -p is helpful because function names
aren't printed without it.  In trunk bzr 111564..5 I pushed the
following, to suggest -p if available and to say what to do with
older addr2line implementations.

=== modified file 'doc/emacs/ChangeLog'
--- doc/emacs/ChangeLog	2013-01-19 20:38:13 +0000
+++ doc/emacs/ChangeLog	2013-01-19 22:10:50 +0000
@@ -1,3 +1,10 @@
+2013-01-19  Paul Eggert  <eggert <at> 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.
+
 2013-01-19  Glenn Morris  <rgm <at> gnu.org>
 
 	* custom.texi (Directory Variables): Fix paren typo.

=== modified file 'doc/emacs/trouble.texi'
--- doc/emacs/trouble.texi	2013-01-19 20:38:13 +0000
+++ doc/emacs/trouble.texi	2013-01-19 22:14:42 +0000
@@ -325,7 +325,8 @@
 
 @example
 sed -n 's/.*\[\(.*\)]$/\1/p' @var{backtrace} |
-  addr2line -C -f -i -e @var{bindir}/@var{emacs-binary}
+  addr2line -C -f -i -p -e @var{bindir}/@var{emacs-binary}
+# Omit '-p' for binutils 2.20 and earlier.
 @end example
 
 @noindent





This bug report was last modified 12 years and 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.