From 35edc6c64f5ab39d62052ca377e24cecea135f21 Mon Sep 17 00:00:00 2001 From: Dmitry Dzhus Date: Thu, 30 Jul 2009 08:04:13 +0000 Subject: [PATCH] (gdb-place-breakpoints): Use full path when setting breakpoints. --- lisp/ChangeLog | 4 ++-- lisp/progmodes/gdb-mi.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 07a41b62aaa..e210a1697bc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -8,8 +8,8 @@ 2009-07-29 Dmitry Dzhus - * 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 diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index c4a6134257f..eb06a387258 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) -- 2.39.2