From 3975eb46150a6c896319b350112c036c678cfc38 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 2 Aug 2019 14:46:48 +0200 Subject: [PATCH] pdb doc clarification * lisp/progmodes/gud.el (pdb): Clarify what the parameters mean (bug#20106). --- lisp/progmodes/gud.el | 12 +++++++++--- 1 file 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))) -- 2.39.2