+2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
+
+ * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
+ Handle breakpoints with no "type".
+
2012-03-06 Glenn Morris <rgm@gnu.org>
* files.el (locate-dominating-file): Add optional predicate argument.
(gdb-table-add-row table
(list
(bindat-get-field breakpoint 'number)
- type
- (bindat-get-field breakpoint 'disp)
+ (or type "")
+ (or (bindat-get-field breakpoint 'disp) "")
(let ((flag (bindat-get-field breakpoint 'enabled)))
(if (string-equal flag "y")
(propertize "y" 'font-lock-face font-lock-warning-face)
(propertize "n" 'font-lock-face font-lock-comment-face)))
(bindat-get-field breakpoint 'addr)
- (bindat-get-field breakpoint 'times)
- (if (string-match ".*watchpoint" type)
+ (or (bindat-get-field breakpoint 'times) "")
+ (if (and type (string-match ".*watchpoint" type))
(bindat-get-field breakpoint 'what)
(or pending at
(concat "in "