summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2010-10-09 23:51:42 +1300
committerNick Roberts <nickrob@snap.net.nz>2010-10-09 23:51:42 +1300
commit4897601e9ff2a43737300e9c95e398dbf7a46662 (patch)
tree62b70b358a7a9239d30ca6d84dd7c904cce18939
parentc58059f23e10ebb3088986f1b310a80a603df20a (diff)
downloademacs-4897601e9ff2a43737300e9c95e398dbf7a46662.tar.gz
(gdb-mouse-toggle-breakpoint-margin)
(gdb-mouse-toggle-breakpoint-fringe): Correct regexp to work when breakpoint number exceeds nine.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/progmodes/gdb-ui.el4
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 59f5b55ec2a..5800459f20a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2010-10-09 Richard Sharman <richard_sharman@mitel.com> (tiny change)
+
+ * progmodes/gdb-ui.el (gdb-mouse-toggle-breakpoint-margin)
+ (gdb-mouse-toggle-breakpoint-fringe): Correct regexp to
+ work when breakpoint number exceeds nine.
+
2010-10-05 David Koppelman <koppel@ece.lsu.edu>
* hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index aa4cfab1bad..b2a354c5410 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -2195,7 +2195,7 @@ If not in a source or disassembly buffer just set point."
(if (posn-object posn)
(let* ((bptno (get-text-property
0 'gdb-bptno (car (posn-string posn)))))
- (string-match "\\([0-9+]\\)*" bptno)
+ (string-match "\\([0-9]+\\)*" bptno)
(gdb-enqueue-input
(list
(concat gdb-server-prefix
@@ -2222,7 +2222,7 @@ If not in a source or disassembly buffer just set point."
(setq obj (overlay-get overlay 'before-string))))
(when (stringp obj)
(let* ((bptno (get-text-property 0 'gdb-bptno obj)))
- (string-match "\\([0-9+]\\)*" bptno)
+ (string-match "\\([0-9]+\\)*" bptno)
(gdb-enqueue-input
(list
(concat gdb-server-prefix