changeset 2519:d567a93d9408

(gdb, sdb, dbx): Improved prompting a la grep.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Sat, 10 Apr 1993 14:28:05 +0000
parents 10509afe2588
children ef643dbb7d40
files lisp/gud.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gud.el	Sat Apr 10 14:27:54 1993 +0000
+++ b/lisp/gud.el	Sat Apr 10 14:28:05 1993 +0000
@@ -213,7 +213,7 @@
   "Run gdb on program FILE in buffer *gud-FILE*.
 The directory containing FILE becomes the initial working directory
 and source-file directory for your debugger."
-  (interactive "sgdb ")
+  (interactive "sRun gdb (like this): gdb ")
   (gud-overload-functions '((gud-debugger-startup . gud-gdb-debugger-startup)
 			    (gud-marker-filter    . gud-gdb-marker-filter)
 			    (gud-find-file        . gud-gdb-find-file)
@@ -284,7 +284,9 @@
   "Run sdb on program FILE in buffer *gud-FILE*.
 The directory containing FILE becomes the initial working directory
 and source-file directory for your debugger."
-  (interactive "ssdb ")
+
+  (interactive "sRun sdb (like this): sdb ")
+
   (if (and gud-sdb-needs-tags
 	   (not (and (boundp 'tags-file-name) (file-exists-p tags-file-name))))
       (error "The sdb support requires a valid tags table to work."))
@@ -332,7 +334,7 @@
   "Run dbx on program FILE in buffer *gud-FILE*.
 The directory containing FILE becomes the initial working directory
 and source-file directory for your debugger."
-  (interactive "sdbx")
+  (interactive "sRun dbx (like this): dbx")
   (gud-overload-functions '((gud-debugger-startup . gud-dbx-debugger-startup)
 			    (gud-marker-filter    . gud-dbx-marker-filter)
 			    (gud-find-file        . gud-dbx-find-file)