From: Dmitry Dzhus <dima@sphinx.net.ru>
Date: Wed, 29 Jul 2009 09:14:13 +0000 (+0000)
Subject: (gdb-goto-breakpoint): Use full path when setting breakpoints.
X-Git-Tag: emacs-pretest-23.1.90~1996
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=592ccae03620b69be8f3d09951ce6837968032c6;p=emacs.git

(gdb-goto-breakpoint): Use full path when setting breakpoints.
---

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 65ec9048b3f..a8e120333f7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
+
+	* progmodes/gdb-mi.el (gdb-goto-breakpoint): Use full path when
+	setting breakpoints.
+
 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
 
 	* calc/calc.el (calc-mode-map): Add keybinding for
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 4ffcb07ce93..c4a6134257f 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -2494,7 +2494,7 @@ breakpoints buffer."
   (let ((breakpoint (get-text-property (point) 'gdb-breakpoint)))
     (if breakpoint
 	(let ((bptno (gdb-get-field breakpoint 'number))
-	      (file  (gdb-get-field breakpoint 'file))
+	      (file  (gdb-get-field breakpoint 'fullname))
 	      (line  (gdb-get-field breakpoint 'line)))
 	  (save-selected-window
 	    (let* ((buffer (find-file-noselect