diff options
author | Sam Steingold <sds@gnu.org> | 2011-02-03 14:59:17 -0500 |
---|---|---|
committer | Sam Steingold <sds@gnu.org> | 2011-02-03 14:59:17 -0500 |
commit | c1b4afacf54d7f0226da7e62b45f0ec7ebeb744b (patch) | |
tree | b3fae2ac727d2f58104ed6637f061dea43ca472c | |
parent | 67342916c9fd6fffe142539a3aba4601d005e839 (diff) | |
download | emacs-c1b4afacf54d7f0226da7e62b45f0ec7ebeb744b.tar.gz |
* lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
Do not error out when `func' is nil.
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/progmodes/gdb-mi.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 12c2603e35f..794faaa0ec8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index ce7de946b5e..bbe9722f548 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -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 |