emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/progmodes/gdb-ui.el


From: Masatake YAMATO
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/gdb-ui.el
Date: Sat, 23 Oct 2004 20:32:16 -0400

Index: emacs/lisp/progmodes/gdb-ui.el
diff -c emacs/lisp/progmodes/gdb-ui.el:1.25 emacs/lisp/progmodes/gdb-ui.el:1.26
*** emacs/lisp/progmodes/gdb-ui.el:1.25 Sat Oct 23 22:00:48 2004
--- emacs/lisp/progmodes/gdb-ui.el      Sun Oct 24 00:25:20 2004
***************
*** 177,183 ****
  
    (setq comint-input-sender 'gdb-send)
    ;;
!   ;; (re-)initialise
    (setq gdb-current-address "main")
    (setq gdb-previous-address nil)
    (setq gdb-previous-frame nil)
--- 177,183 ----
  
    (setq comint-input-sender 'gdb-send)
    ;;
!   ;; (re-)initialize
    (setq gdb-current-address "main")
    (setq gdb-previous-address nil)
    (setq gdb-previous-frame nil)
***************
*** 1950,1962 ****
      map))
  
  (defvar gdb-assembler-font-lock-keywords
!   '(("[^\$]0x[0-9a-f]+" . font-lock-constant-face)
!     ("^\\(0x*[0-9a-f]+\\) ?\\(<\\(\\sw+\\)\\+[0-9]+>\\)?:[ \t]+\\(\\sw+\\)"
!      (1 font-lock-constant-face) 
!      (3 font-lock-function-name-face) 
       (4 font-lock-keyword-face))
      ("%\\sw+" . font-lock-variable-name-face)
!     ("^\\(Dump of assembler code for function\\) \\(.+\\):" 
       (1 font-lock-comment-face)
       (2 font-lock-function-name-face))
      ("^\\(End of assembler dump\\.\\)" . font-lock-comment-face))
--- 1950,1964 ----
      map))
  
  (defvar gdb-assembler-font-lock-keywords
!   '(;; <__function.name+n>
!     ("<\\(\\(\\sw\\|[_.]\\)+\\)\\(\\+[0-9]+\\)?>"
!      (1 font-lock-function-name-face))
!     ;; 0xNNNNNNNN <__function.name+n>: opcode
!     ("^0x[0-9a-f]+ \\(<\\(\\(\\sw\\|[_.]\\)+\\)\\+[0-9]+>\\)?:[ 
\t]+\\(\\sw+\\)"
       (4 font-lock-keyword-face))
+     ;; %register(at least i386)
      ("%\\sw+" . font-lock-variable-name-face)
!     ("^\\(Dump of assembler code for function\\) \\(.+\\):"
       (1 font-lock-comment-face)
       (2 font-lock-function-name-face))
      ("^\\(End of assembler dump\\.\\)" . font-lock-comment-face))




reply via email to

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