]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
authorSam Steingold <sds@gnu.org>
Thu, 3 Feb 2011 19:59:17 +0000 (14:59 -0500)
committerSam Steingold <sds@gnu.org>
Thu, 3 Feb 2011 19:59:17 +0000 (14:59 -0500)
Do not error out when `func' is nil.

lisp/ChangeLog
lisp/progmodes/gdb-mi.el

index 12c2603e35f55198e9ba1bbc374be184e320f09e..794faaa0ec8c9f67f8202e2f11de386f01b1d44e 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-03  Sam Steingold  <sds@gnu.org>
+
+       * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
+       Do not error out when `func' is nil.
+
 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp-sh.el (tramp-remote-path): Add default settings for
index ce7de946b5e7eea52e01abe1329dca8c29dc3fa0..bbe9722f54816b235852f4c93ec66b2b3031be20 100644 (file)
@@ -2347,7 +2347,8 @@ HANDLER-NAME handler uses customization of CUSTOM-DEFUN. See
            (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