diff options
| author | Nick Roberts | 2010-10-09 23:51:42 +1300 |
|---|---|---|
| committer | Nick Roberts | 2010-10-09 23:51:42 +1300 |
| commit | 4897601e9ff2a43737300e9c95e398dbf7a46662 (patch) | |
| tree | 62b70b358a7a9239d30ca6d84dd7c904cce18939 | |
| parent | c58059f23e10ebb3088986f1b310a80a603df20a (diff) | |
| download | emacs-4897601e9ff2a43737300e9c95e398dbf7a46662.tar.gz emacs-4897601e9ff2a43737300e9c95e398dbf7a46662.zip | |
(gdb-mouse-toggle-breakpoint-margin)
(gdb-mouse-toggle-breakpoint-fringe): Correct regexp to work when
breakpoint number exceeds nine.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 4 |
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 @@ | |||
| 1 | 2010-10-09 Richard Sharman <richard_sharman@mitel.com> (tiny change) | ||
| 2 | |||
| 3 | * progmodes/gdb-ui.el (gdb-mouse-toggle-breakpoint-margin) | ||
| 4 | (gdb-mouse-toggle-breakpoint-fringe): Correct regexp to | ||
| 5 | work when breakpoint number exceeds nine. | ||
| 6 | |||
| 1 | 2010-10-05 David Koppelman <koppel@ece.lsu.edu> | 7 | 2010-10-05 David Koppelman <koppel@ece.lsu.edu> |
| 2 | 8 | ||
| 3 | * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified | 9 | * 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." | |||
| 2195 | (if (posn-object posn) | 2195 | (if (posn-object posn) |
| 2196 | (let* ((bptno (get-text-property | 2196 | (let* ((bptno (get-text-property |
| 2197 | 0 'gdb-bptno (car (posn-string posn))))) | 2197 | 0 'gdb-bptno (car (posn-string posn))))) |
| 2198 | (string-match "\\([0-9+]\\)*" bptno) | 2198 | (string-match "\\([0-9]+\\)*" bptno) |
| 2199 | (gdb-enqueue-input | 2199 | (gdb-enqueue-input |
| 2200 | (list | 2200 | (list |
| 2201 | (concat gdb-server-prefix | 2201 | (concat gdb-server-prefix |
| @@ -2222,7 +2222,7 @@ If not in a source or disassembly buffer just set point." | |||
| 2222 | (setq obj (overlay-get overlay 'before-string)))) | 2222 | (setq obj (overlay-get overlay 'before-string)))) |
| 2223 | (when (stringp obj) | 2223 | (when (stringp obj) |
| 2224 | (let* ((bptno (get-text-property 0 'gdb-bptno obj))) | 2224 | (let* ((bptno (get-text-property 0 'gdb-bptno obj))) |
| 2225 | (string-match "\\([0-9+]\\)*" bptno) | 2225 | (string-match "\\([0-9]+\\)*" bptno) |
| 2226 | (gdb-enqueue-input | 2226 | (gdb-enqueue-input |
| 2227 | (list | 2227 | (list |
| 2228 | (concat gdb-server-prefix | 2228 | (concat gdb-server-prefix |