GNU bug report logs -
#5061
23.1.50; GUD gdb completion problem
Previous Next
Reported by: Michael Welsh Duggan <md5i <at> md5i.com>
Date: Fri, 27 Nov 2009 17:45:04 UTC
Severity: normal
Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
This bug is due to the Stefan Monnier's commit on 2009-10-31. In
particular, reverting the following diff solves this problem:
---------------------------- lisp/progmodes/gud.el ----------------------------
index 49637f9..e3413ab 100644
@@ -2828,14 +2828,13 @@ Obeying it means displaying in another window the specified file and line."
"Invoke the debugger COMMAND displaying source in other window."
(interactive)
(gud-set-buffer)
(let ((proc (get-buffer-process gud-comint-buffer)))
(or proc (error "Current buffer has no process"))
;; Arrange for the current prompt to get deleted.
- (save-excursion
- (set-buffer gud-comint-buffer)
+ (with-current-buffer gud-comint-buffer
(save-restriction
(widen)
(if (marker-position gud-delete-prompt-marker)
;; We get here when printing an expression.
(goto-char gud-delete-prompt-marker)
(goto-char (process-mark proc))
--
Michael Welsh Duggan
(md5i <at> md5i.com)
This bug report was last modified 15 years and 183 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.