changeset 104104:757c30ed402e

(gdb-goto-breakpoint): Use full path when setting breakpoints.
author Dmitry Dzhus <dima@sphinx.net.ru>
date Wed, 29 Jul 2009 09:14:13 +0000
parents 25e101a5a1e4
children f0dc02c2ac9e
files lisp/ChangeLog lisp/progmodes/gdb-mi.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Jul 29 03:46:13 2009 +0000
+++ b/lisp/ChangeLog	Wed Jul 29 09:14:13 2009 +0000
@@ -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
--- a/lisp/progmodes/gdb-mi.el	Wed Jul 29 03:46:13 2009 +0000
+++ b/lisp/progmodes/gdb-mi.el	Wed Jul 29 09:14:13 2009 +0000
@@ -2494,7 +2494,7 @@
   (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