aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Dzhus <[email protected]>2009-07-30 08:04:13 +0000
committerDmitry Dzhus <[email protected]>2009-07-30 08:04:13 +0000
commit35edc6c64f5ab39d62052ca377e24cecea135f21 (patch)
tree93058686728dd87ef00ccb18cd1eb111d0f92bdd
parentb5bdfd9f4f3f7d58b5ae353283b69c7b6f0d7be3 (diff)
(gdb-place-breakpoints): Use full path when setting breakpoints.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/gdb-mi.el2
2 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 07a41b62aa..e210a1697b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -8,8 +8,8 @@
2009-07-29 Dmitry Dzhus <[email protected]>
- * 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 <[email protected]>
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index c4a6134257..eb06a38725 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -1613,7 +1613,7 @@ OUTPUT-HANDLER-NAME handler uses customization of CUSTOM-DEFUN."
(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)