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 <>
* progmodes/gud.el (auto-mode-alist): Match more valid gdb init
file names.
2007-07-02 Martin Rudalics <>
* help-mode.el (help-make-xrefs): Skip spaces too when skipping tabs.
......@@ -3193,8 +3193,12 @@ Treats actions as defuns."
(goto-char (point-max)))
;; 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.
(add-to-list 'auto-mode-alist '("/\\.gdbinit" . gdb-script-mode))
(add-to-list 'auto-mode-alist '("/\\.[a-z0-9-]*gdbinit" . gdb-script-mode))
(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