summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/gdb-ui.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index ef9ce2d7e73..e1c87b884c8 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -1931,12 +1931,13 @@ static char *magick[] = {
(add-text-properties
(match-beginning 1) (match-end 1)
'(face font-lock-function-name-face)))
- (if (re-search-forward ".*\\s-+\\(\\S-+\\):\\([0-9]+\\)$")
+ (if (re-search-forward
+ ".*\\s-+\\(\\S-+\\):\\([0-9]+\\)$" nil t)
(let ((line (match-string 2))
(file (match-string 1)))
(add-text-properties bl el
- '(mouse-face highlight
- help-echo "mouse-2, RET: visit breakpoint"))
+ '(mouse-face highlight
+ help-echo "mouse-2, RET: visit breakpoint"))
(unless (file-exists-p file)
(setq file (cdr (assoc bptno gdb-location-alist))))
(if (and file