diff options
| author | Paul Eggert | 2013-01-19 14:48:47 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-01-19 14:48:47 -0800 |
| commit | ee271528bfa645727f03c2a3e04db73b72a76077 (patch) | |
| tree | 089db95785be842559f1fa14485a160186c0ce3d | |
| parent | d7a0a7c9bddcf0b5005c392d5f00702d26cc5b9c (diff) | |
| download | emacs-ee271528bfa645727f03c2a3e04db73b72a76077.tar.gz emacs-ee271528bfa645727f03c2a3e04db73b72a76077.zip | |
Improve addr2line suggestion.
Fixes: debbugs:13445
| -rw-r--r-- | doc/emacs/ChangeLog | 9 | ||||
| -rw-r--r-- | doc/emacs/trouble.texi | 7 |
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 @@ | |||
| 1 | 2013-01-19 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-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 | ||
| 8 | 2013-01-19 Glenn Morris <rgm@gnu.org> | 9 | 2013-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 |
| 327 | sed -n 's/.*\[\(.*\)]$/\1/p' @var{backtrace} | | 327 | sed -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 | |||
| 334 | the backtrace, @var{bindir} is the name of the directory that | 333 | the backtrace, @var{bindir} is the name of the directory that |
| 335 | contains the Emacs executable, and @var{emacs-binary} is the name of | 334 | contains the Emacs executable, and @var{emacs-binary} is the name of |
| 336 | the Emacs executable file, normally @file{emacs} on GNU and Unix | 335 | the Emacs executable file, normally @file{emacs} on GNU and Unix |
| 337 | systems and @file{emacs.exe} on MS-Windows and MS-DOS.@footnote{You | 336 | systems and @file{emacs.exe} on MS-Windows and MS-DOS. Omit the |
| 338 | may 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.} | 338 | to 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 |