diff options
| author | Dan Nicolaescu | 2007-07-03 21:30:56 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-07-03 21:30:56 +0000 |
| commit | b0fa5db6f63cfcf26983ed506f2fe6798582b8d4 (patch) | |
| tree | 2b2ada3fceb5ade7a2fb62017f31ae55b1ae3987 | |
| parent | f204ca2feb0e107476f73e9ae2b2524e5254968e (diff) | |
| download | emacs-b0fa5db6f63cfcf26983ed506f2fe6798582b8d4.tar.gz emacs-b0fa5db6f63cfcf26983ed506f2fe6798582b8d4.zip | |
(auto-mode-alist): Match more valid gdb init
file names.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/gud.el | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 129b9aab8e7..dee447a1720 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-07-03 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * progmodes/gud.el (auto-mode-alist): Match more valid gdb init | ||
| 4 | file names. | ||
| 5 | |||
| 1 | 2007-07-02 Martin Rudalics <rudalics@gmx.at> | 6 | 2007-07-02 Martin Rudalics <rudalics@gmx.at> |
| 2 | 7 | ||
| 3 | * help-mode.el (help-make-xrefs): Skip spaces too when skipping tabs. | 8 | * help-mode.el (help-make-xrefs): Skip spaces too when skipping tabs. |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index e557fdef843..536d8c4cfc1 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -3193,8 +3193,12 @@ Treats actions as defuns." | |||
| 3193 | (goto-char (point-max))) | 3193 | (goto-char (point-max))) |
| 3194 | t) | 3194 | t) |
| 3195 | 3195 | ||
| 3196 | ;; Besides .gdbinit, gdb documents other names to be usable for init | ||
| 3197 | ;; files, cross-debuggers can use something like | ||
| 3198 | ;; .PROCESSORNAME-gdbinit so that the host and target gdbinit files | ||
| 3199 | ;; don't interfere with each other. | ||
| 3196 | ;;;###autoload | 3200 | ;;;###autoload |
| 3197 | (add-to-list 'auto-mode-alist '("/\\.gdbinit" . gdb-script-mode)) | 3201 | (add-to-list 'auto-mode-alist '("/\\.[a-z0-9-]*gdbinit" . gdb-script-mode)) |
| 3198 | 3202 | ||
| 3199 | ;;;###autoload | 3203 | ;;;###autoload |
| 3200 | (define-derived-mode gdb-script-mode nil "GDB-Script" | 3204 | (define-derived-mode gdb-script-mode nil "GDB-Script" |