aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2008-05-02 12:43:30 +0000
committerMiles Bader2008-05-02 12:43:30 +0000
commitbfab7c6ec74dc55d640ef36f8cb1790a1420f991 (patch)
tree7fdb5a4e86c08ef89712061e002a100af4f383cd
parent3a23a519591b06980f79db48f5bf5e0d34451211 (diff)
parent50eff40ff15b6349137bc9618d021495c72815af (diff)
downloademacs-bfab7c6ec74dc55d640ef36f8cb1790a1420f991.tar.gz
emacs-bfab7c6ec74dc55d640ef36f8cb1790a1420f991.zip
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1139
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/gdb-ui.el7
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ff45c19947d..125b38a4574 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-05-02 Nick Roberts <nickrob@snap.net.nz>
2
3 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Don't
4 throw error if no file is found.
5
12008-05-02 Juanma Barranquero <lekktu@gmail.com> 62008-05-02 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings. 8 * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index d96dc4b7711..45843ec696f 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -1950,12 +1950,13 @@ static char *magick[] = {
1950 (add-text-properties 1950 (add-text-properties
1951 (match-beginning 1) (match-end 1) 1951 (match-beginning 1) (match-end 1)
1952 '(face font-lock-function-name-face))) 1952 '(face font-lock-function-name-face)))
1953 (if (re-search-forward ".*\\s-+\\(\\S-+\\):\\([0-9]+\\)$") 1953 (if (re-search-forward
1954 ".*\\s-+\\(\\S-+\\):\\([0-9]+\\)$" nil t)
1954 (let ((line (match-string 2)) 1955 (let ((line (match-string 2))
1955 (file (match-string 1))) 1956 (file (match-string 1)))
1956 (add-text-properties bl el 1957 (add-text-properties bl el
1957 '(mouse-face highlight 1958 '(mouse-face highlight
1958 help-echo "mouse-2, RET: visit breakpoint")) 1959 help-echo "mouse-2, RET: visit breakpoint"))
1959 (unless (file-exists-p file) 1960 (unless (file-exists-p file)
1960 (setq file (cdr (assoc bptno gdb-location-alist)))) 1961 (setq file (cdr (assoc bptno gdb-location-alist))))
1961 (if (and file 1962 (if (and file