diff options
| author | Nick Roberts | 2006-03-14 20:27:57 +0000 |
|---|---|---|
| committer | Nick Roberts | 2006-03-14 20:27:57 +0000 |
| commit | 4ea252326a3d136394c8d789491cb134aa37f5bd (patch) | |
| tree | 013961b646c96ffc55e36cacf32bac1acbfdce53 | |
| parent | 37c7ef1762ca4e0cddf1bbdf049d2c08fa15bf6e (diff) | |
| download | emacs-4ea252326a3d136394c8d789491cb134aa37f5bd.tar.gz emacs-4ea252326a3d136394c8d789491cb134aa37f5bd.zip | |
(gud-speedbar-buttons): Follow change to gdb-var-list.
| -rw-r--r-- | lisp/progmodes/gud.el | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 41bb24f9e61..f98ee3540d8 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -174,7 +174,7 @@ Used to grey out relevant togolbar icons.") | |||
| 174 | :enable (and (not gud-running) | 174 | :enable (and (not gud-running) |
| 175 | (memq gud-minor-mode | 175 | (memq gud-minor-mode |
| 176 | '(gdbmi gdba gdb dbx xdb jdb pdb bashdb)))) | 176 | '(gdbmi gdba gdb dbx xdb jdb pdb bashdb)))) |
| 177 | ([pp] menu-item "Print the emacs s-expression" gud-pp | 177 | ([pp] menu-item "Print S-expression" gud-pp |
| 178 | :enable (and (not gud-running) | 178 | :enable (and (not gud-running) |
| 179 | gdb-active-process) | 179 | gdb-active-process) |
| 180 | :visible (and (string-equal | 180 | :visible (and (string-equal |
| @@ -234,9 +234,6 @@ Used to grey out relevant togolbar icons.") | |||
| 234 | (gud-run . "gud/run") | 234 | (gud-run . "gud/run") |
| 235 | (gud-go . "gud/go") | 235 | (gud-go . "gud/go") |
| 236 | (gud-stop-subjob . "gud/stop") | 236 | (gud-stop-subjob . "gud/stop") |
| 237 | ;; gud-s, gud-si etc. instead of gud-step, | ||
| 238 | ;; gud-stepi, to avoid file-name clashes on DOS | ||
| 239 | ;; 8+3 filesystems. | ||
| 240 | (gud-cont . "gud/cont") | 237 | (gud-cont . "gud/cont") |
| 241 | (gud-until . "gud/until") | 238 | (gud-until . "gud/until") |
| 242 | (gud-next . "gud/next") | 239 | (gud-next . "gud/next") |
| @@ -455,7 +452,7 @@ required by the caller." | |||
| 455 | (let ((var-list gdb-var-list) parent) | 452 | (let ((var-list gdb-var-list) parent) |
| 456 | (while var-list | 453 | (while var-list |
| 457 | (let* (char (depth 0) (start 0) (var (car var-list)) | 454 | (let* (char (depth 0) (start 0) (var (car var-list)) |
| 458 | (expr (car var)) (varnum (nth 1 var)) | 455 | (varnum (car var)) (expr (nth 1 var)) |
| 459 | (type (nth 3 var)) (value (nth 4 var)) | 456 | (type (nth 3 var)) (value (nth 4 var)) |
| 460 | (status (nth 5 var))) | 457 | (status (nth 5 var))) |
| 461 | (put-text-property | 458 | (put-text-property |
| @@ -483,9 +480,9 @@ required by the caller." | |||
| 483 | t) | 480 | t) |
| 484 | depth) | 481 | depth) |
| 485 | (if (eq status 'out-of-scope) (setq parent 'shadow)) | 482 | (if (eq status 'out-of-scope) (setq parent 'shadow)) |
| 486 | (if (and (cadr var-list) | 483 | (if (and (nth 1 var-list) |
| 487 | (string-match (concat varnum "\\.") | 484 | (string-match (concat varnum "\\.") |
| 488 | (cadr (cadr var-list)))) | 485 | (car (nth 1 var-list)))) |
| 489 | (setq char ?-) | 486 | (setq char ?-) |
| 490 | (setq char ?+)) | 487 | (setq char ?+)) |
| 491 | (if (string-match "\\*$" type) | 488 | (if (string-match "\\*$" type) |