diff options
| author | Juanma Barranquero | 2005-08-01 16:10:53 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-08-01 16:10:53 +0000 |
| commit | 1e5b5dc0a28f03c85cb4784249f6300b35324eb8 (patch) | |
| tree | 0479b7bab2bf4e7c1cd48fa276b1353dcdc0439c | |
| parent | 5fd6d89f46d4603757d5669904637201dd6677bb (diff) | |
| download | emacs-1e5b5dc0a28f03c85cb4784249f6300b35324eb8.tar.gz emacs-1e5b5dc0a28f03c85cb4784249f6300b35324eb8.zip | |
(gdb-frame-address, gdb-var-changed, gdb-output-sink, gdba,
gdb-cpp-define-alist-program, gdb-set-gud-minor-mode, gdb-exited,
gdb-setup-windows, gdb-put-string): Fix typos in docstrings.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 24 |
2 files changed, 19 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 29767bd16d6..43ced200822 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2005-08-01 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * progmodes/gdb-ui.el (gdb-frame-address, gdb-var-changed) | ||
| 4 | (gdb-output-sink, gdba, gdb-cpp-define-alist-program) | ||
| 5 | (gdb-set-gud-minor-mode, gdb-exited, gdb-setup-windows) | ||
| 6 | (gdb-put-string): Fix typos in docstrings. | ||
| 7 | |||
| 1 | 2005-08-01 Nick Roberts <nickrob@snap.net.nz> | 8 | 2005-08-01 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 9 | ||
| 3 | Update copyright notices of files in progmodes directory for | 10 | Update copyright notices of files in progmodes directory for |
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 7f1d2ad2092..42e415c5799 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -56,7 +56,7 @@ | |||
| 56 | ;; explicitly in your program if you want timely display of I/O in Emacs. | 56 | ;; explicitly in your program if you want timely display of I/O in Emacs. |
| 57 | ;; Alternatively you can make the output stream unbuffered, for example, by | 57 | ;; Alternatively you can make the output stream unbuffered, for example, by |
| 58 | ;; using a macro: | 58 | ;; using a macro: |
| 59 | ;; | 59 | ;; |
| 60 | ;; #ifdef UNBUFFERED | 60 | ;; #ifdef UNBUFFERED |
| 61 | ;; setvbuf(stdout,(char *)NULL, _IONBF,0); | 61 | ;; setvbuf(stdout,(char *)NULL, _IONBF,0); |
| 62 | ;; #endif | 62 | ;; #endif |
| @@ -79,7 +79,7 @@ | |||
| 79 | 79 | ||
| 80 | (require 'gud) | 80 | (require 'gud) |
| 81 | 81 | ||
| 82 | (defvar gdb-frame-address "main" "Initialisation for Assembler buffer.") | 82 | (defvar gdb-frame-address "main" "Initialization for Assembler buffer.") |
| 83 | (defvar gdb-previous-frame-address nil) | 83 | (defvar gdb-previous-frame-address nil) |
| 84 | (defvar gdb-memory-address "main") | 84 | (defvar gdb-memory-address "main") |
| 85 | (defvar gdb-previous-frame nil) | 85 | (defvar gdb-previous-frame nil) |
| @@ -87,7 +87,7 @@ | |||
| 87 | (defvar gdb-frame-number nil) | 87 | (defvar gdb-frame-number nil) |
| 88 | (defvar gdb-current-language nil) | 88 | (defvar gdb-current-language nil) |
| 89 | (defvar gdb-var-list nil "List of variables in watch window.") | 89 | (defvar gdb-var-list nil "List of variables in watch window.") |
| 90 | (defvar gdb-var-changed nil "Non-nil means that gdb-var-list has changed.") | 90 | (defvar gdb-var-changed nil "Non-nil means that `gdb-var-list' has changed.") |
| 91 | (defvar gdb-main-file nil "Source file from which program execution begins.") | 91 | (defvar gdb-main-file nil "Source file from which program execution begins.") |
| 92 | (defvar gdb-buffer-type nil) | 92 | (defvar gdb-buffer-type nil) |
| 93 | (defvar gdb-overlay-arrow-position nil) | 93 | (defvar gdb-overlay-arrow-position nil) |
| @@ -118,7 +118,7 @@ Possible values are these symbols: | |||
| 118 | `user' -- gdb output should be copied to the GUD buffer | 118 | `user' -- gdb output should be copied to the GUD buffer |
| 119 | for the user to see. | 119 | for the user to see. |
| 120 | 120 | ||
| 121 | `inferior' -- gdb output should be copied to the inferior-io buffer | 121 | `inferior' -- gdb output should be copied to the inferior-io buffer. |
| 122 | 122 | ||
| 123 | `pre-emacs' -- output should be ignored util the post-prompt | 123 | `pre-emacs' -- output should be ignored util the post-prompt |
| 124 | annotation is received. Then the output-sink | 124 | annotation is received. Then the output-sink |
| @@ -130,7 +130,7 @@ Possible values are these symbols: | |||
| 130 | `post-emacs' -- ignore output until the prompt annotation is | 130 | `post-emacs' -- ignore output until the prompt annotation is |
| 131 | received, then go to USER disposition. | 131 | received, then go to USER disposition. |
| 132 | 132 | ||
| 133 | gdba (gdb-ui.el) uses all five values, gdbmi (gdb-mi.el) only two | 133 | gdba (gdb-ui.el) uses all five values, gdbmi (gdb-mi.el) only two |
| 134 | \(`user' and `emacs').") | 134 | \(`user' and `emacs').") |
| 135 | 135 | ||
| 136 | (defvar gdb-current-item nil | 136 | (defvar gdb-current-item nil |
| @@ -149,7 +149,7 @@ The directory containing FILE becomes the initial working directory | |||
| 149 | and source-file directory for your debugger. | 149 | and source-file directory for your debugger. |
| 150 | 150 | ||
| 151 | If `gdb-many-windows' is nil (the default value) then gdb just | 151 | If `gdb-many-windows' is nil (the default value) then gdb just |
| 152 | pops up the GUD buffer unless `gdb-show-main' is t. In this case | 152 | pops up the GUD buffer unless `gdb-show-main' is t. In this case |
| 153 | it starts with two windows: one displaying the GUD buffer and the | 153 | it starts with two windows: one displaying the GUD buffer and the |
| 154 | other with the source file with the main routine of the inferior. | 154 | other with the source file with the main routine of the inferior. |
| 155 | 155 | ||
| @@ -217,7 +217,7 @@ detailed description of this mode. | |||
| 217 | (defcustom gdb-cpp-define-alist-program "gcc -E -dM -" | 217 | (defcustom gdb-cpp-define-alist-program "gcc -E -dM -" |
| 218 | "Shell command for generating a list of defined macros in a source file. | 218 | "Shell command for generating a list of defined macros in a source file. |
| 219 | This list is used to display the #define directive associated | 219 | This list is used to display the #define directive associated |
| 220 | with an identifier as a tooltip. It works in a debug session with | 220 | with an identifier as a tooltip. It works in a debug session with |
| 221 | GDB, when gud-tooltip-mode is t. | 221 | GDB, when gud-tooltip-mode is t. |
| 222 | 222 | ||
| 223 | Set `gdb-cpp-define-alist-flags' for any include paths or | 223 | Set `gdb-cpp-define-alist-flags' for any include paths or |
| @@ -280,7 +280,7 @@ Also display the main routine in the disassembly buffer if present." | |||
| 280 | 'gdb-tooltip-print)))))) | 280 | 'gdb-tooltip-print)))))) |
| 281 | 281 | ||
| 282 | (defun gdb-set-gud-minor-mode (buffer) | 282 | (defun gdb-set-gud-minor-mode (buffer) |
| 283 | "Set gud-minor-mode from find-file if appropriate." | 283 | "Set `gud-minor-mode' from find-file if appropriate." |
| 284 | (goto-char (point-min)) | 284 | (goto-char (point-min)) |
| 285 | (unless (search-forward "No source file named " nil t) | 285 | (unless (search-forward "No source file named " nil t) |
| 286 | (condition-case nil | 286 | (condition-case nil |
| @@ -973,7 +973,7 @@ being debugged." | |||
| 973 | (defun gdb-exited (ignored) | 973 | (defun gdb-exited (ignored) |
| 974 | "An annotation handler for `exited' and `signalled'. | 974 | "An annotation handler for `exited' and `signalled'. |
| 975 | They say that I/O for the subprocess is now GDB, not the program | 975 | They say that I/O for the subprocess is now GDB, not the program |
| 976 | being debugged and that the program is no longer running. This | 976 | being debugged and that the program is no longer running. This |
| 977 | function is used to change the focus of GUD tooltips to #define | 977 | function is used to change the focus of GUD tooltips to #define |
| 978 | directives." | 978 | directives." |
| 979 | (setq gdb-active-process nil) | 979 | (setq gdb-active-process nil) |
| @@ -2226,7 +2226,7 @@ corresponding to the mode line clicked." | |||
| 2226 | (set-window-dedicated-p (selected-window) t)) | 2226 | (set-window-dedicated-p (selected-window) t)) |
| 2227 | 2227 | ||
| 2228 | (defun gdb-setup-windows () | 2228 | (defun gdb-setup-windows () |
| 2229 | "Layout the window pattern for gdb-many-windows." | 2229 | "Layout the window pattern for `gdb-many-windows'." |
| 2230 | (gdb-display-locals-buffer) | 2230 | (gdb-display-locals-buffer) |
| 2231 | (gdb-display-stack-buffer) | 2231 | (gdb-display-stack-buffer) |
| 2232 | (delete-other-windows) | 2232 | (delete-other-windows) |
| @@ -2380,7 +2380,7 @@ of the current session." | |||
| 2380 | (defun gdb-put-string (putstring pos &optional dprop) | 2380 | (defun gdb-put-string (putstring pos &optional dprop) |
| 2381 | "Put string PUTSTRING in front of POS in the current buffer. | 2381 | "Put string PUTSTRING in front of POS in the current buffer. |
| 2382 | PUTSTRING is displayed by putting an overlay into the current buffer with a | 2382 | PUTSTRING is displayed by putting an overlay into the current buffer with a |
| 2383 | `before-string' STRING that has a `display' property whose value is | 2383 | `before-string' string that has a `display' property whose value is |
| 2384 | PUTSTRING." | 2384 | PUTSTRING." |
| 2385 | (let ((string (make-string 1 ?x)) | 2385 | (let ((string (make-string 1 ?x)) |
| 2386 | (buffer (current-buffer))) | 2386 | (buffer (current-buffer))) |
| @@ -2485,7 +2485,7 @@ BUFFER nil or omitted means use the current buffer." | |||
| 2485 | 2485 | ||
| 2486 | (def-gdb-auto-updated-buffer gdb-assembler-buffer | 2486 | (def-gdb-auto-updated-buffer gdb-assembler-buffer |
| 2487 | gdb-invalidate-assembler | 2487 | gdb-invalidate-assembler |
| 2488 | (concat gdb-server-prefix "disassemble " | 2488 | (concat gdb-server-prefix "disassemble " |
| 2489 | (if (member gdb-frame-address '(nil "main")) nil "0x") | 2489 | (if (member gdb-frame-address '(nil "main")) nil "0x") |
| 2490 | gdb-frame-address "\n") | 2490 | gdb-frame-address "\n") |
| 2491 | gdb-assembler-handler | 2491 | gdb-assembler-handler |