(eval-when-compile (require 'cl)) ; for case macro
(require 'comint)
-(require 'etags)
(require 'font-lock)
;; ======================================================================
(not (memq gud-minor-mode '(gdbmi gdba))))]
["Edit value" speedbar-edit-line
(with-current-buffer gud-comint-buffer
- (not (memq gud-minor-mode '(gdbmi gdba))))]
+ (memq gud-minor-mode '(gdbmi gdba)))]
["Delete expression" gdb-var-delete
(with-current-buffer gud-comint-buffer
- (not (memq gud-minor-mode '(gdbmi gdba))))])
+ (memq gud-minor-mode '(gdbmi gdba)))])
"Additional menu items to add to the speedbar frame.")
;; Make sure our special speedbar mode is loaded
and source-file directory for your debugger."
(interactive (list (gud-query-cmdline 'sdb)))
+ (if gud-sdb-needs-tags (require 'etags))
(if (and gud-sdb-needs-tags
(not (and (boundp 'tags-file-name)
(stringp tags-file-name)