aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2004-06-29 13:01:27 +0000
committerKim F. Storm2004-06-29 13:01:27 +0000
commit619b6adbd2b96accbbf18051bf69149a029557ee (patch)
tree01760a5685a55ecd2f696933245c5b2f1d42bba6
parent7549786255d7bb076ee7d079c39b529f815dc9c3 (diff)
downloademacs-619b6adbd2b96accbbf18051bf69149a029557ee.tar.gz
emacs-619b6adbd2b96accbbf18051bf69149a029557ee.zip
(breakpoint-enabled-bitmap-face)
(breakpoint-disabled-bitmap-face): Add :group 'gud.
-rw-r--r--lisp/progmodes/gdb-ui.el24
1 files changed, 13 insertions, 11 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index 25863d1aba3..1e2ef00580e 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -39,7 +39,7 @@
39;; Kingdon and uses GDB's annotation interface. You don't need to know about 39;; Kingdon and uses GDB's annotation interface. You don't need to know about
40;; annotations to use this mode as a debugger, but if you are interested 40;; annotations to use this mode as a debugger, but if you are interested
41;; developing the mode itself, then see the Annotations section in the GDB 41;; developing the mode itself, then see the Annotations section in the GDB
42;; info manual. 42;; info manual.
43;; 43;;
44;; GDB developers plan to make the annotation interface obsolete. A new 44;; GDB developers plan to make the annotation interface obsolete. A new
45;; interface called GDB/MI (machine interface) has been designed to replace 45;; interface called GDB/MI (machine interface) has been designed to replace
@@ -70,7 +70,7 @@
70(defvar gdb-variables '() 70(defvar gdb-variables '()
71 "A list of variables that are local to the GUD buffer.") 71 "A list of variables that are local to the GUD buffer.")
72(defvar gdb-server-prefix nil) 72(defvar gdb-server-prefix nil)
73 73
74;;;###autoload 74;;;###autoload
75(defun gdba (command-line) 75(defun gdba (command-line)
76 "Run gdb on program FILE in buffer *gud-FILE*. 76 "Run gdb on program FILE in buffer *gud-FILE*.
@@ -227,7 +227,7 @@ speedbar."
227 (if (string-equal expr (car var)) (throw 'already-watched nil))) 227 (if (string-equal expr (car var)) (throw 'already-watched nil)))
228 (set-text-properties 0 (length expr) nil expr) 228 (set-text-properties 0 (length expr) nil expr)
229 (gdb-enqueue-input 229 (gdb-enqueue-input
230 (list 230 (list
231 (if (eq gud-minor-mode 'gdba) 231 (if (eq gud-minor-mode 'gdba)
232 (concat "server interpreter mi \"-var-create - * " expr "\"\n") 232 (concat "server interpreter mi \"-var-create - * " expr "\"\n")
233 (concat"-var-create - * " expr "\n")) 233 (concat"-var-create - * " expr "\n"))
@@ -326,7 +326,7 @@ speedbar."
326 (if (not (member 'gdb-var-update gdb-pending-triggers)) 326 (if (not (member 'gdb-var-update gdb-pending-triggers))
327 (progn 327 (progn
328 (gdb-enqueue-input 328 (gdb-enqueue-input
329 (list 329 (list
330 (if (with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdba)) 330 (if (with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdba))
331 "server interpreter mi \"-var-update *\"\n" 331 "server interpreter mi \"-var-update *\"\n"
332 "-var-update *\n") 332 "-var-update *\n")
@@ -362,7 +362,7 @@ speedbar."
362 (varnum (cadr var))) 362 (varnum (cadr var)))
363 (unless (string-match "\\." varnum) 363 (unless (string-match "\\." varnum)
364 (gdb-enqueue-input 364 (gdb-enqueue-input
365 (list 365 (list
366 (if (with-current-buffer gud-comint-buffer 366 (if (with-current-buffer gud-comint-buffer
367 (eq gud-minor-mode 'gdba)) 367 (eq gud-minor-mode 'gdba))
368 (concat "server interpreter mi \"-var-delete " varnum "\"\n") 368 (concat "server interpreter mi \"-var-delete " varnum "\"\n")
@@ -486,7 +486,7 @@ The key should be one of the cars in `gdb-buffer-rules-assoc'."
486 (set (make-local-variable 'gdb-buffer-type) key) 486 (set (make-local-variable 'gdb-buffer-type) key)
487 (if (cdr (cdr rules)) 487 (if (cdr (cdr rules))
488 (funcall (car (cdr (cdr rules))))) 488 (funcall (car (cdr (cdr rules)))))
489 (set (make-local-variable 'gud-minor-mode) 489 (set (make-local-variable 'gud-minor-mode)
490 (with-current-buffer gud-comint-buffer gud-minor-mode)) 490 (with-current-buffer gud-comint-buffer gud-minor-mode))
491 (set (make-local-variable 'tool-bar-map) gud-tool-bar-map) 491 (set (make-local-variable 'tool-bar-map) gud-tool-bar-map)
492 new)))) 492 new))))
@@ -1076,13 +1076,15 @@ static char *magick[] = {
1076 '((t 1076 '((t
1077 :inherit fringe 1077 :inherit fringe
1078 :foreground "red")) 1078 :foreground "red"))
1079 "Face for enabled breakpoint icon in fringe.") 1079 "Face for enabled breakpoint icon in fringe."
1080 :group 'gud)
1080 1081
1081(defface breakpoint-disabled-bitmap-face 1082(defface breakpoint-disabled-bitmap-face
1082 '((t 1083 '((t
1083 :inherit fringe 1084 :inherit fringe
1084 :foreground "grey60")) 1085 :foreground "grey60"))
1085 "Face for disabled breakpoint icon in fringe.") 1086 "Face for disabled breakpoint icon in fringe."
1087 :group 'gud)
1086 1088
1087 1089
1088;;-put breakpoint icons in relevant margins (even those set in the GUD buffer) 1090;;-put breakpoint icons in relevant margins (even those set in the GUD buffer)
@@ -1837,7 +1839,7 @@ BUFFER nil or omitted means use the current buffer."
1837 (save-current-buffer 1839 (save-current-buffer
1838 (setq left-margin-width 2) 1840 (setq left-margin-width 2)
1839 (if (get-buffer-window (current-buffer) 'visible) 1841 (if (get-buffer-window (current-buffer) 'visible)
1840 (set-window-margins 1842 (set-window-margins
1841 (get-buffer-window (current-buffer) 'visible) 1843 (get-buffer-window (current-buffer) 'visible)
1842 left-margin-width right-margin-width)))) 1844 left-margin-width right-margin-width))))
1843 (put-image 1845 (put-image
@@ -1864,7 +1866,7 @@ BUFFER nil or omitted means use the current buffer."
1864 (save-current-buffer 1866 (save-current-buffer
1865 (setq left-margin-width 2) 1867 (setq left-margin-width 2)
1866 (if (get-buffer-window (current-buffer) 'visible) 1868 (if (get-buffer-window (current-buffer) 'visible)
1867 (set-window-margins 1869 (set-window-margins
1868 (get-buffer-window (current-buffer) 'visible) 1870 (get-buffer-window (current-buffer) 'visible)
1869 left-margin-width right-margin-width)))) 1871 left-margin-width right-margin-width))))
1870 (gdb-put-string (if enabled "B" "b") (1+ start))))) 1872 (gdb-put-string (if enabled "B" "b") (1+ start)))))
@@ -1876,7 +1878,7 @@ BUFFER nil or omitted means use the current buffer."
1876 (when remove-margin 1878 (when remove-margin
1877 (setq left-margin-width 0) 1879 (setq left-margin-width 0)
1878 (if (get-buffer-window (current-buffer) 'visible) 1880 (if (get-buffer-window (current-buffer) 'visible)
1879 (set-window-margins 1881 (set-window-margins
1880 (get-buffer-window (current-buffer) 'visible) 1882 (get-buffer-window (current-buffer) 'visible)
1881 left-margin-width right-margin-width)))) 1883 left-margin-width right-margin-width))))
1882 1884