emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r114419: Recognize OBJFILE-gdb.gdb GDB script files.


From: Eli Zaretskii
Subject: [Emacs-diffs] trunk r114419: Recognize OBJFILE-gdb.gdb GDB script files.
Date: Sat, 21 Sep 2013 08:50:15 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114419
revision-id: address@hidden
parent: address@hidden
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sat 2013-09-21 11:49:31 +0300
message:
  Recognize OBJFILE-gdb.gdb GDB script files.
  
   lisp/files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
   recognized by GDB 7.5 and later.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/files.el                  files.el-20091113204419-o5vbwnq5f7feedwu-265
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-09-21 08:16:13 +0000
+++ b/lisp/ChangeLog    2013-09-21 08:49:31 +0000
@@ -1,3 +1,8 @@
+2013-09-21  Eli Zaretskii  <address@hidden>
+
+       * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
+       recognized by GDB 7.5 and later.
+
 2013-09-21  Xue Fuqiao  <address@hidden>
 
        * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.

=== modified file 'lisp/files.el'
--- a/lisp/files.el     2013-09-12 05:32:57 +0000
+++ b/lisp/files.el     2013-09-21 08:49:31 +0000
@@ -2269,6 +2269,10 @@
      ;; .PROCESSORNAME-gdbinit so that the host and target gdbinit files
      ;; don't interfere with each other.
      ("/\\.[a-z0-9-]*gdbinit" . gdb-script-mode)
+     ;; GDB 7.5 introduced OBJFILE-gdb.gdb script files; e.g. a file
+     ;; named 'emacs-gdb.gdb', if it exists, will be automatically
+     ;; loaded when GDB reads an objfile called 'emacs'.
+     ("-gdb\\.gdb" . gdb-script-mode)
      ("[cC]hange\\.?[lL]og?\\'" . change-log-mode)
      ("[cC]hange[lL]og[-.][0-9]+\\'" . change-log-mode)
      ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]