emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/gud.el


From: Nick Roberts
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/gud.el
Date: Tue, 14 Mar 2006 20:27:57 +0000

Index: emacs/lisp/progmodes/gud.el
diff -u emacs/lisp/progmodes/gud.el:1.98 emacs/lisp/progmodes/gud.el:1.99
--- emacs/lisp/progmodes/gud.el:1.98    Tue Mar  7 10:43:19 2006
+++ emacs/lisp/progmodes/gud.el Tue Mar 14 20:27:57 2006
@@ -174,7 +174,7 @@
                  :enable (and (not gud-running)
                               (memq gud-minor-mode
                                     '(gdbmi gdba gdb dbx xdb jdb pdb bashdb))))
-    ([pp]      menu-item "Print the emacs s-expression" gud-pp
+    ([pp]      menu-item "Print S-expression" gud-pp
                   :enable (and (not gud-running)
                                  gdb-active-process)
                  :visible (and (string-equal
@@ -234,9 +234,6 @@
                     (gud-run . "gud/run")
                     (gud-go . "gud/go")
                     (gud-stop-subjob . "gud/stop")
-                    ;; gud-s, gud-si etc. instead of gud-step,
-                    ;; gud-stepi, to avoid file-name clashes on DOS
-                    ;; 8+3 filesystems.
                     (gud-cont . "gud/cont")
                     (gud-until . "gud/until")
                     (gud-next . "gud/next")
@@ -455,7 +452,7 @@
          (let ((var-list gdb-var-list) parent)
            (while var-list
              (let* (char (depth 0) (start 0) (var (car var-list))
-                         (expr (car var)) (varnum (nth 1 var))
+                         (varnum (car var)) (expr (nth 1 var))
                          (type (nth 3 var)) (value (nth 4 var))
                          (status (nth 5 var)))
                (put-text-property
@@ -483,9 +480,9 @@
                       t)
                     depth)
                  (if (eq status 'out-of-scope) (setq parent 'shadow))
-                 (if (and (cadr var-list)
+                 (if (and (nth 1 var-list)
                           (string-match (concat varnum "\\.")
-                                        (cadr (cadr var-list))))
+                                        (car (nth 1 var-list))))
                      (setq char ?-)
                    (setq char ?+))
                  (if (string-match "\\*$" type)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]