aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Roberts2006-03-23 23:52:11 +0000
committerNick Roberts2006-03-23 23:52:11 +0000
commit201f5b5f6afbc6927d4b86c595e006256403c1c9 (patch)
tree217a951150cc3202d00a24d1cffab2e0cb358052
parent77218834eef7b848d921cbd5b1107ae5a6995a7f (diff)
downloademacs-201f5b5f6afbc6927d4b86c595e006256403c1c9.tar.gz
emacs-201f5b5f6afbc6927d4b86c595e006256403c1c9.zip
(gdb-continuation): Declare earlier to prevent compiler warnings.
(gdb-stopped): Check for gud-last-last-frame (case: signal). (breakpoint-disabled): Make lighter for contrast with overlay arrow. (gdb-assembler-custom): Use hollow-right-triangle for assembler buffer too.
-rw-r--r--lisp/progmodes/gdb-ui.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index 5b657b1555b..0e89bb57691 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -126,6 +126,7 @@ and #define directives otherwise.")
126(defvar gdb-signalled nil) 126(defvar gdb-signalled nil)
127(defvar gdb-source-window nil) 127(defvar gdb-source-window nil)
128(defvar gdb-inferior-status nil) 128(defvar gdb-inferior-status nil)
129(defvar gdb-continuation nil)
129 130
130(defvar gdb-buffer-type nil 131(defvar gdb-buffer-type nil
131 "One of the symbols bound in `gdb-buffer-rules'.") 132 "One of the symbols bound in `gdb-buffer-rules'.")
@@ -1078,7 +1079,6 @@ The key should be one of the cars in `gdb-buffer-rules-assoc'."
1078;; 1079;;
1079;; These lists are consumed tail first. 1080;; These lists are consumed tail first.
1080;; 1081;;
1081(defvar gdb-continuation nil)
1082 1082
1083(defun gdb-send (proc string) 1083(defun gdb-send (proc string)
1084 "A comint send filter for gdb. 1084 "A comint send filter for gdb.
@@ -1318,7 +1318,8 @@ directives."
1318It is just like `gdb-stopping', except that if we already set the output 1318It is just like `gdb-stopping', except that if we already set the output
1319sink to `user' in `gdb-stopping', that is fine." 1319sink to `user' in `gdb-stopping', that is fine."
1320 (setq gud-running nil) 1320 (setq gud-running nil)
1321 (unless (or gud-overlay-arrow-position gud-last-frame) 1321 (unless (or gud-overlay-arrow-position gud-last-frame
1322 (not gud-last-last-frame))
1322 (gud-display-line (car gud-last-last-frame) (cdr gud-last-last-frame))) 1323 (gud-display-line (car gud-last-last-frame) (cdr gud-last-last-frame)))
1323 (unless (member gdb-inferior-status '("exited" "signal")) 1324 (unless (member gdb-inferior-status '("exited" "signal"))
1324 (setq gdb-inferior-status "stopped") 1325 (setq gdb-inferior-status "stopped")
@@ -1680,8 +1681,7 @@ static char *magick[] = {
1680 ;; We use different values of grey for different background types, 1681 ;; We use different values of grey for different background types,
1681 ;; so that on low-color displays it will end up as something visible 1682 ;; so that on low-color displays it will end up as something visible
1682 ;; if it has to be approximated. 1683 ;; if it has to be approximated.
1683 '((((background dark)) :foreground "grey60") 1684 '((t :foreground "grey70"))
1684 (((background light)) :foreground "grey40"))
1685 "Face for disabled breakpoint icon in fringe." 1685 "Face for disabled breakpoint icon in fringe."
1686 :group 'gud) 1686 :group 'gud)
1687 1687
@@ -2987,6 +2987,10 @@ BUFFER nil or omitted means use the current buffer."
2987 (progn 2987 (progn
2988 (setq pos (point)) 2988 (setq pos (point))
2989 (beginning-of-line) 2989 (beginning-of-line)
2990 (setq fringe-indicator-alist
2991 (if (string-equal gdb-frame-number "0")
2992 nil
2993 '((overlay-arrow . hollow-right-triangle))))
2990 (or gdb-overlay-arrow-position 2994 (or gdb-overlay-arrow-position
2991 (setq gdb-overlay-arrow-position (make-marker))) 2995 (setq gdb-overlay-arrow-position (make-marker)))
2992 (set-marker gdb-overlay-arrow-position 2996 (set-marker gdb-overlay-arrow-position