emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r103105: * lisp/progmodes/gdb-mi.el (


From: Sam Steingold
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103105: * lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
Date: Thu, 03 Feb 2011 14:59:17 -0500
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 103105
committer: Sam Steingold <address@hidden>
branch nick: trunk
timestamp: Thu 2011-02-03 14:59:17 -0500
message:
  * lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
  Do not error out when `func' is nil.
modified:
  lisp/ChangeLog
  lisp/progmodes/gdb-mi.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-02-03 11:28:16 +0000
+++ b/lisp/ChangeLog    2011-02-03 19:59:17 +0000
@@ -1,3 +1,8 @@
+2011-02-03  Sam Steingold  <address@hidden>
+
+       * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
+       Do not error out when `func' is nil.
+
 2011-02-03  Michael Albinus  <address@hidden>
 
        * net/tramp-sh.el (tramp-remote-path): Add default settings for

=== modified file 'lisp/progmodes/gdb-mi.el'
--- a/lisp/progmodes/gdb-mi.el  2011-01-25 04:08:28 +0000
+++ b/lisp/progmodes/gdb-mi.el  2011-02-03 19:59:17 +0000
@@ -2347,7 +2347,8 @@
            (bindat-get-field breakpoint 'what)
          (or pending at
              (concat "in "
-                     (propertize func 'font-lock-face 
font-lock-function-name-face)
+                     (propertize (or func "unknown")
+                                  'font-lock-face font-lock-function-name-face)
                      (gdb-frame-location breakpoint)))))
        ;; Add clickable properties only for breakpoints with file:line
        ;; information


reply via email to

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