# HG changeset patch # User Nick Roberts # Date 1286621502 -46800 # Node ID a98040347debd9c0fdb649c64c39940ec9afa898 # Parent e0fba251c544426e077e3653b41b8a29a31353eb (gdb-mouse-toggle-breakpoint-margin) (gdb-mouse-toggle-breakpoint-fringe): Correct regexp to work when breakpoint number exceeds nine. diff -r e0fba251c544 -r a98040347deb lisp/ChangeLog --- a/lisp/ChangeLog Sat Oct 09 00:09:19 2010 -0400 +++ b/lisp/ChangeLog Sat Oct 09 23:51:42 2010 +1300 @@ -1,3 +1,9 @@ +2010-10-09 Richard Sharman (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 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified diff -r e0fba251c544 -r a98040347deb lisp/progmodes/gdb-ui.el --- a/lisp/progmodes/gdb-ui.el Sat Oct 09 00:09:19 2010 -0400 +++ b/lisp/progmodes/gdb-ui.el Sat Oct 09 23:51:42 2010 +1300 @@ -2195,7 +2195,7 @@ (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 @@ (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