diff options
| author | Nick Roberts | 2006-02-14 22:02:21 +0000 |
|---|---|---|
| committer | Nick Roberts | 2006-02-14 22:02:21 +0000 |
| commit | ee75f8b7ae03bc5eb01081b7f553b40af4c038dd (patch) | |
| tree | 3955bbc2af3186895a1538a36285de5abcc8f9cb | |
| parent | a4b354b7314e7eaa3d96f7895bf21bd7907adc4e (diff) | |
| download | emacs-ee75f8b7ae03bc5eb01081b7f553b40af4c038dd.tar.gz emacs-ee75f8b7ae03bc5eb01081b7f553b40af4c038dd.zip | |
(gdb): Improve doc string.
(gdb-script-font-lock-keywords): Expand allowed character set.
| -rw-r--r-- | lisp/progmodes/gud.el | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index b927c765476..1d5172a1a52 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -656,8 +656,13 @@ required by the caller." | |||
| 656 | ;;;###autoload | 656 | ;;;###autoload |
| 657 | (defun gdb (command-line) | 657 | (defun gdb (command-line) |
| 658 | "Run gdb on program FILE in buffer *gud-FILE*. | 658 | "Run gdb on program FILE in buffer *gud-FILE*. |
| 659 | The directory containing FILE becomes the initial working directory | 659 | The directory containing FILE becomes the initial working |
| 660 | and source-file directory for your debugger." | 660 | directory and source-file directory for your debugger. By |
| 661 | default this command starts GDB using a graphical interface. See | ||
| 662 | `gdba' for more information. | ||
| 663 | |||
| 664 | To run GDB in text command mode, set `gud-gdb-command-name' to | ||
| 665 | \"gdb --fullname\" and include the pathname, if necessary." | ||
| 661 | (interactive (list (gud-query-cmdline 'gdb))) | 666 | (interactive (list (gud-query-cmdline 'gdb))) |
| 662 | 667 | ||
| 663 | (if (and gud-comint-buffer | 668 | (if (and gud-comint-buffer |
| @@ -3120,7 +3125,7 @@ class of the file (using s to separate nested class ids)." | |||
| 3120 | (defvar gdb-script-font-lock-keywords | 3125 | (defvar gdb-script-font-lock-keywords |
| 3121 | '(("^define\\s-+\\(\\(\\w\\|\\s_\\)+\\)" (1 font-lock-function-name-face)) | 3126 | '(("^define\\s-+\\(\\(\\w\\|\\s_\\)+\\)" (1 font-lock-function-name-face)) |
| 3122 | ("\\$\\(\\w+\\)" (1 font-lock-variable-name-face)) | 3127 | ("\\$\\(\\w+\\)" (1 font-lock-variable-name-face)) |
| 3123 | ("^\\s-*\\([a-z]+\\)" (1 font-lock-keyword-face)))) | 3128 | ("^\\s-*\\(\\(\\w\\|\\s_\\)+\\)" (1 font-lock-keyword-face)))) |
| 3124 | 3129 | ||
| 3125 | ;; FIXME: The keyword "end" associated with "document" | 3130 | ;; FIXME: The keyword "end" associated with "document" |
| 3126 | ;; should have font-lock-keyword-face (currently font-lock-doc-face). | 3131 | ;; should have font-lock-keyword-face (currently font-lock-doc-face). |