diff options
| -rw-r--r-- | etc/DEBUG | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -42,7 +42,9 @@ created in the 'src' directory. | |||
| 42 | 42 | ||
| 43 | *** Configuring GDB | 43 | *** Configuring GDB |
| 44 | 44 | ||
| 45 | To start GDB, you can simply type "gdb RET" at the shell prompt. | 45 | To start GDB to debug Emacs, you can simply type "gdb ./emacs RET" at |
| 46 | the shell prompt (assuming you do that from the directory of the Emacs | ||
| 47 | executable, usually the 'src' sub-directory of the Emacs tree). | ||
| 46 | However, we recommend starting GDB from Emacs, see below. | 48 | However, we recommend starting GDB from Emacs, see below. |
| 47 | 49 | ||
| 48 | When you debug Emacs with GDB, you should start GDB in the directory | 50 | When you debug Emacs with GDB, you should start GDB in the directory |