Mercurial > emacs
changeset 78070:28e125eb9a2a
(auto-mode-alist): Match more valid gdb init
file names.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Tue, 03 Jul 2007 21:30:56 +0000 |
parents | 83437a5611b9 |
children | eee9205202c1 |
files | lisp/ChangeLog lisp/progmodes/gud.el |
diffstat | 2 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Mon Jul 02 05:46:19 2007 +0000 +++ b/lisp/ChangeLog Tue Jul 03 21:30:56 2007 +0000 @@ -1,3 +1,8 @@ +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.
--- a/lisp/progmodes/gud.el Mon Jul 02 05:46:19 2007 +0000 +++ b/lisp/progmodes/gud.el Tue Jul 03 21:30:56 2007 +0000 @@ -3193,8 +3193,12 @@ (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"