GNU bug report logs -
#13445
add2rline usage in manual
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13445 in the body.
You can then email your comments to 13445 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13445
; Package
emacs
.
(Tue, 15 Jan 2013 00:10:01 GMT)
Full text and
rfc822 format available.
Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):
Package: emacs
Version: 24.2.92
Severity: minor
trouble.texi says:
If your system has the @command{addr2line} utility, the following shell
command outputs a backtrace with source-code line numbers:
@example
sed -n 's/.*\[\(.*\)]$/\1/p' @var{backtrace} |
addr2line -Cfip -e @var{bindir}/emacs
@end example
Trying this on RHEL6 fails with:
addr2line: invalid option -- 'p'
By experiment, -Cfi works.
I can't see anywhere in the addr2line manual or info page on this system
that explains what demangling styles are valid.
GNU addr2line version 2.20.51.0.2-5.34.el6 20100205
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13445
; Package
emacs
.
(Tue, 15 Jan 2013 08:59:01 GMT)
Full text and
rfc822 format available.
Message #6 received at 13445 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> Trying this on RHEL6 fails with:
>
> addr2line: invalid option -- 'p'
-p (aka --pretty-print) has been added in binutils 2.21.
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
bug marked as fixed in version 24.2.93, send any further explanations to
13445 <at> debbugs.gnu.org and Glenn Morris <rgm <at> gnu.org>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 16 Jan 2013 02:13:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13445
; Package
emacs
.
(Sat, 19 Jan 2013 22:18:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 13445 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13445
; Package
emacs
.
(Sat, 19 Jan 2013 22:36:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 13445 <at> debbugs.gnu.org (full text, mbox):
Paul Eggert wrote:
> 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.
This doesn't really make sense, given the changes I had already made.
(See the footnote.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13445
; Package
emacs
.
(Sat, 19 Jan 2013 22:52:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 13445 <at> debbugs.gnu.org (full text, mbox):
On 01/19/2013 02:34 PM, Glenn Morris wrote:
> This doesn't really make sense, given the changes I had already made.
> (See the footnote.)
Sorry, that was my problem -- I didn't see the footnote. (Do people
read footnotes?...) I tried to fix things by pulling that material
out of the footnote and suggesting -p first with a fallback without -p,
in trunk bzr 111567.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13445
; Package
emacs
.
(Sat, 19 Jan 2013 23:42:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 13445 <at> debbugs.gnu.org (full text, mbox):
Paul Eggert wrote:
> Sorry, that was my problem -- I didn't see the footnote. (Do people
> read footnotes?...)
I think you answered your own question. :)
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 17 Feb 2013 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.