From 71be806d01c4e135f067bc842a9d684e594b4f35 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 29 Apr 2018 19:27:55 +0300 Subject: [PATCH] ; * etc/DEBUG: Minor clarification. --- etc/DEBUG | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/DEBUG b/etc/DEBUG index 3db50029bf0..74a28973280 100644 --- a/etc/DEBUG +++ b/etc/DEBUG @@ -42,7 +42,9 @@ created in the 'src' directory. *** Configuring GDB -To start GDB, you can simply type "gdb RET" at the shell prompt. +To start GDB to debug Emacs, you can simply type "gdb ./emacs RET" at +the shell prompt (assuming you do that from the directory of the Emacs +executable, usually the 'src' sub-directory of the Emacs tree). However, we recommend starting GDB from Emacs, see below. When you debug Emacs with GDB, you should start GDB in the directory -- 2.11.4.GIT