Commit b0fa5db6 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(auto-mode-alist): Match more valid gdb init

file names.
parent f204ca2f
2007-07-03 Dan Nicolaescu <dann@ics.uci.edu>
* progmodes/gud.el (auto-mode-alist): Match more valid gdb init
file names.
2007-07-02 Martin Rudalics <rudalics@gmx.at>
 
* help-mode.el (help-make-xrefs): Skip spaces too when skipping tabs.
......@@ -3193,8 +3193,12 @@ Treats actions as defuns."
(goto-char (point-max)))
t)
;; Besides .gdbinit, gdb documents other names to be usable for init
;; files, cross-debuggers can use something like
;; .PROCESSORNAME-gdbinit so that the host and target gdbinit files
;; don't interfere with each other.
;;;###autoload
(add-to-list 'auto-mode-alist '("/\\.gdbinit" . gdb-script-mode))
(add-to-list 'auto-mode-alist '("/\\.[a-z0-9-]*gdbinit" . gdb-script-mode))
;;;###autoload
(define-derived-mode gdb-script-mode nil "GDB-Script"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment