diff options
| author | Nick Roberts | 2005-01-28 21:48:48 +0000 |
|---|---|---|
| committer | Nick Roberts | 2005-01-28 21:48:48 +0000 |
| commit | 14788d12b0a9b2fddd2e88f5d15afed8e2b9862d (patch) | |
| tree | a2e415a04f41a6916b7913ba729a6a52b8bb5893 | |
| parent | c7c87573946cab9307993dbdb0866a1e9d78b015 (diff) | |
| download | emacs-14788d12b0a9b2fddd2e88f5d15afed8e2b9862d.tar.gz emacs-14788d12b0a9b2fddd2e88f5d15afed8e2b9862d.zip | |
(gdb-info-breakpoints-custom)
(gdb-goto-breakpoint): Make breakpoint handling work on template
functions in C++. Reported by Martin Reed <mjreed@essex.ac.uk>
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 1827589387e..a89f4b1694f 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -1143,7 +1143,7 @@ static char *magick[] = { | |||
| 1143 | (setq bptno (match-string 1)) | 1143 | (setq bptno (match-string 1)) |
| 1144 | (setq flag (char-after (match-beginning 2))) | 1144 | (setq flag (char-after (match-beginning 2))) |
| 1145 | (beginning-of-line) | 1145 | (beginning-of-line) |
| 1146 | (if (re-search-forward "in\\s-+\\S-+\\s-+at\\s-+" nil t) | 1146 | (if (re-search-forward "in.*at\\s-+" nil t) |
| 1147 | (progn | 1147 | (progn |
| 1148 | (looking-at "\\(\\S-+\\):\\([0-9]+\\)") | 1148 | (looking-at "\\(\\S-+\\):\\([0-9]+\\)") |
| 1149 | (let ((line (match-string 2)) (buffer-read-only nil) | 1149 | (let ((line (match-string 2)) (buffer-read-only nil) |
| @@ -1298,7 +1298,7 @@ static char *magick[] = { | |||
| 1298 | (save-excursion | 1298 | (save-excursion |
| 1299 | (beginning-of-line 1) | 1299 | (beginning-of-line 1) |
| 1300 | (if (if (with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdba)) | 1300 | (if (if (with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdba)) |
| 1301 | (looking-at ".*in\\s-+\\S-+\\s-+at\\s-+\\(\\S-*\\):\\([0-9]+\\)") | 1301 | (looking-at ".*in.*at\\s-+\\(\\S-*\\):\\([0-9]+\\)") |
| 1302 | (looking-at | 1302 | (looking-at |
| 1303 | "[0-9]+\\s-*\\S-*\\s-*\\S-*\\s-*.\\s-*\\S-*\\s-*\\(\\S-*\\):\\([0-9]+\\)")) | 1303 | "[0-9]+\\s-*\\S-*\\s-*\\S-*\\s-*.\\s-*\\S-*\\s-*\\(\\S-*\\):\\([0-9]+\\)")) |
| 1304 | (let ((line (match-string 2)) | 1304 | (let ((line (match-string 2)) |