]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/gdb-mi.el
* lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
[gnu-emacs] / lisp / progmodes / gdb-mi.el
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