emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e953490603: ; * lisp/progmodes/gud.el (gud-gdb): Doc fix. (Bug#5


From: Eli Zaretskii
Subject: master e953490603: ; * lisp/progmodes/gud.el (gud-gdb): Doc fix. (Bug#58826)
Date: Fri, 28 Oct 2022 02:23:41 -0400 (EDT)

branch: master
commit e953490603e597530f9dac68acdd3d199283e534
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * lisp/progmodes/gud.el (gud-gdb): Doc fix.  (Bug#58826)
---
 lisp/progmodes/gud.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index 281762fb0a..9b7d7a0535 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -752,7 +752,12 @@ It should return a list of completion strings.")
 If COMMAND-LINE names a program FILE to debug, gdb will run in
 a buffer named *gud-FILE*, and the directory containing FILE
 becomes the initial working directory and source-file directory
-for your debugger.
+for your debugger.  If you don't want `default-directory' to
+change to the directory of FILE, specify FILE without leading
+directories, in which case FILE should reside either in the
+directory of the buffer from which this command is invoked, or
+it can be found by searching PATH.
+
 If COMMAND-LINE requests that gdb attaches to a process PID, gdb
 will run in *gud-PID*, otherwise it will run in *gud*; in these
 cases the initial working directory is the `default-directory' of



reply via email to

[Prev in Thread] Current Thread [Next in Thread]