diff options
| author | Eli Zaretskii | 2014-07-26 16:40:53 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-07-26 16:40:53 +0300 |
| commit | c734f28e4345a96ab5c4f09e2821e5178ebb0cd0 (patch) | |
| tree | 7385b77f304debf8d8de4e0359b508110a0c81a8 | |
| parent | e72e6612763d178bc283e8c8ec72325b85aa2384 (diff) | |
| download | emacs-c734f28e4345a96ab5c4f09e2821e5178ebb0cd0.tar.gz emacs-c734f28e4345a96ab5c4f09e2821e5178ebb0cd0.zip | |
Fix bug #18113 with ambiguous wording in etc/DEBUG.
etc/DEBUG: Improve wording.
| -rw-r--r-- | etc/DEBUG | 10 |
1 files changed, 6 insertions, 4 deletions
| @@ -7,9 +7,9 @@ See the end of the file for license conditions. | |||
| 7 | [People who debug Emacs on Windows using Microsoft debuggers should | 7 | [People who debug Emacs on Windows using Microsoft debuggers should |
| 8 | read the Windows-specific section near the end of this document.] | 8 | read the Windows-specific section near the end of this document.] |
| 9 | 9 | ||
| 10 | ** When you debug Emacs with GDB, you should start it in the directory | 10 | ** When you debug Emacs with GDB, you should start GDB in the directory |
| 11 | where the executable was made (the 'src' directory in the Emacs source | 11 | where the Emacs executable was made (the 'src' directory in the Emacs |
| 12 | tree). That directory has a .gdbinit file that defines various | 12 | source tree). That directory has a .gdbinit file that defines various |
| 13 | "user-defined" commands for debugging Emacs. (These commands are | 13 | "user-defined" commands for debugging Emacs. (These commands are |
| 14 | described below under "Examining Lisp object values" and "Debugging | 14 | described below under "Examining Lisp object values" and "Debugging |
| 15 | Emacs Redisplay problems".) | 15 | Emacs Redisplay problems".) |
| @@ -21,7 +21,9 @@ you will see a warning when GDB starts, like this: | |||
| 21 | warning: File ".../src/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". | 21 | warning: File ".../src/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". |
| 22 | 22 | ||
| 23 | There are several ways to overcome that difficulty, they are all | 23 | There are several ways to overcome that difficulty, they are all |
| 24 | described in the node "Auto-loading safe path" in the GDB user manual. | 24 | described in the node "Auto-loading safe path" in the GDB user |
| 25 | manual. If nothing else helps, type "source /path/to/.gdbinit RET" at | ||
| 26 | the GDB prompt, to unconditionally load the GDB init file. | ||
| 25 | 27 | ||
| 26 | ** When you are trying to analyze failed assertions or backtraces, it | 28 | ** When you are trying to analyze failed assertions or backtraces, it |
| 27 | is essential to compile Emacs with flags suitable for debugging. | 29 | is essential to compile Emacs with flags suitable for debugging. |