changeset 104115:335df621bc5c

(gdb-place-breakpoints): Use full path when setting breakpoints.
author Dmitry Dzhus <dima@sphinx.net.ru>
date Thu, 30 Jul 2009 08:04:13 +0000
parents c4bef3978513
children 97987e968cf8
files lisp/ChangeLog lisp/progmodes/gdb-mi.el
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Jul 30 04:57:42 2009 +0000
+++ b/lisp/ChangeLog	Thu Jul 30 08:04:13 2009 +0000
@@ -8,8 +8,8 @@
 
 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
 
-	* progmodes/gdb-mi.el (gdb-goto-breakpoint): Use full path when
-	setting breakpoints.
+	* progmodes/gdb-mi.el (gdb-goto-breakpoint)
+	(gdb-place-breakpoints): Use full path when setting breakpoints.
 
 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
 
--- a/lisp/progmodes/gdb-mi.el	Thu Jul 30 04:57:42 2009 +0000
+++ b/lisp/progmodes/gdb-mi.el	Thu Jul 30 08:04:13 2009 +0000
@@ -1613,7 +1613,7 @@
     (dolist (breakpoint gdb-breakpoints-list)
       (let ((line (gdb-get-field breakpoint 'line)))
         (when line
-          (let ((file (gdb-get-field breakpoint 'file))
+          (let ((file (gdb-get-field breakpoint 'fullname))
                 (flag (gdb-get-field breakpoint 'enabled))
                 (bptno (gdb-get-field breakpoint 'number)))
             (unless (file-exists-p file)