aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaushik Srenevasan2012-03-06 00:37:38 -0800
committerGlenn Morris2012-03-06 00:37:38 -0800
commit133b8e1120761af85822cfcf3dd8fe440ec058cf (patch)
tree90921e983e35031fc415c8665a6274b528e21dfa
parent99a8306435502146d52cd97377d95c93963d8ae4 (diff)
downloademacs-133b8e1120761af85822cfcf3dd8fe440ec058cf.tar.gz
emacs-133b8e1120761af85822cfcf3dd8fe440ec058cf.zip
Small gdb-breakpoints fix (tiny change)
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00753.html * lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom): Handle breakpoints with no "type".
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/gdb-mi.el8
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e9dce6280a6..7d7d250712f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2
3 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4 Handle breakpoints with no "type".
5
12012-03-06 Glenn Morris <rgm@gnu.org> 62012-03-06 Glenn Morris <rgm@gnu.org>
2 7
3 * files.el (locate-dominating-file): Add optional predicate argument. 8 * files.el (locate-dominating-file): Add optional predicate argument.
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 0c45c3f5e5d..8ea255e49dd 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -2397,15 +2397,15 @@ HANDLER-NAME handler uses customization of CUSTOM-DEFUN. See
2397 (gdb-table-add-row table 2397 (gdb-table-add-row table
2398 (list 2398 (list
2399 (bindat-get-field breakpoint 'number) 2399 (bindat-get-field breakpoint 'number)
2400 type 2400 (or type "")
2401 (bindat-get-field breakpoint 'disp) 2401 (or (bindat-get-field breakpoint 'disp) "")
2402 (let ((flag (bindat-get-field breakpoint 'enabled))) 2402 (let ((flag (bindat-get-field breakpoint 'enabled)))
2403 (if (string-equal flag "y") 2403 (if (string-equal flag "y")
2404 (propertize "y" 'font-lock-face font-lock-warning-face) 2404 (propertize "y" 'font-lock-face font-lock-warning-face)
2405 (propertize "n" 'font-lock-face font-lock-comment-face))) 2405 (propertize "n" 'font-lock-face font-lock-comment-face)))
2406 (bindat-get-field breakpoint 'addr) 2406 (bindat-get-field breakpoint 'addr)
2407 (bindat-get-field breakpoint 'times) 2407 (or (bindat-get-field breakpoint 'times) "")
2408 (if (string-match ".*watchpoint" type) 2408 (if (and type (string-match ".*watchpoint" type))
2409 (bindat-get-field breakpoint 'what) 2409 (bindat-get-field breakpoint 'what)
2410 (or pending at 2410 (or pending at
2411 (concat "in " 2411 (concat "in "