diff lisp/progmodes/gdb-mi.el @ 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 757c30ed402e
children ff7110a449a4
line wrap: on
line diff
--- 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)