summaryrefslogtreecommitdiff
path: root/lisp/progmodes/gud.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-08-02 14:46:48 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-08-02 14:46:55 +0200
commit3975eb46150a6c896319b350112c036c678cfc38 (patch)
tree87a1eee8813e936acb3466f7da67d3def3c28763 /lisp/progmodes/gud.el
parent7197fbebfc9660d2f21a0907289388019a169031 (diff)
downloademacs-3975eb46150a6c896319b350112c036c678cfc38.tar.gz
emacs-3975eb46150a6c896319b350112c036c678cfc38.tar.bz2
emacs-3975eb46150a6c896319b350112c036c678cfc38.zip
pdb doc clarification
* lisp/progmodes/gud.el (pdb): Clarify what the parameters mean (bug#20106).
Diffstat (limited to 'lisp/progmodes/gud.el')
-rw-r--r--lisp/progmodes/gud.el12
1 files changed, 9 insertions, 3 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index 6b152b7b902..b6a4ad3cd0c 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -1681,9 +1681,15 @@ This should be an executable on your path, or an absolute file name."
;;;###autoload
(defun pdb (command-line)
- "Run pdb on program FILE in buffer `*gud-FILE*'.
-The directory containing FILE becomes the initial working directory
-and source-file directory for your debugger."
+ "Run COMMAND-LINE in the `*gud-FILE*' buffer.
+
+COMMAND-LINE should include the pdb executable
+name (`gud-pdb-command-name') and the file to be debugged.
+
+If called interactively, the command line will be prompted for.
+
+The directory containing this file becomes the initial working
+directory and source-file directory for your debugger."
(interactive
(list (gud-query-cmdline 'pdb)))