Commit 14788d12 authored by Nick Roberts's avatar Nick Roberts
Browse files


(gdb-goto-breakpoint): Make breakpoint handling work on template
functions in C++. Reported by Martin Reed <>
parent c7c87573
......@@ -1143,7 +1143,7 @@ static char *magick[] = {
(setq bptno (match-string 1))
(setq flag (char-after (match-beginning 2)))
(if (re-search-forward "in\\s-+\\S-+\\s-+at\\s-+" nil t)
(if (re-search-forward "in.*at\\s-+" nil t)
(looking-at "\\(\\S-+\\):\\([0-9]+\\)")
(let ((line (match-string 2)) (buffer-read-only nil)
......@@ -1298,7 +1298,7 @@ static char *magick[] = {
(beginning-of-line 1)
(if (if (with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdba))
(looking-at ".*in\\s-+\\S-+\\s-+at\\s-+\\(\\S-*\\):\\([0-9]+\\)")
(looking-at ".*in.*at\\s-+\\(\\S-*\\):\\([0-9]+\\)")
(let ((line (match-string 2))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment