[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/gdb-ui.el,v
From: |
Nick Roberts |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/gdb-ui.el,v |
Date: |
Wed, 16 Jul 2008 23:02:52 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Nick Roberts <nickrob> 08/07/16 23:02:52
Index: gdb-ui.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/gdb-ui.el,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -b -r1.252 -r1.253
--- gdb-ui.el 5 Jul 2008 09:35:01 -0000 1.252
+++ gdb-ui.el 16 Jul 2008 23:02:52 -0000 1.253
@@ -470,7 +470,10 @@
(output
(with-output-to-string
(with-current-buffer standard-output
- (and file (file-exists-p file)
+ (and file
+ (file-exists-p file)
+ ;; call-process doesn't work with remote file names.
+ (not (file-remote-p default-directory))
(call-process shell-file-name file
(list t nil) nil "-c"
(concat gdb-cpp-define-alist-program " "
@@ -3273,7 +3276,7 @@
(if gdb-many-windows
(gdb-setup-windows)
(gdb-get-buffer-create 'gdb-breakpoints-buffer)
- (if gdb-show-main
+ (if (and gdb-show-main gdb-main-file)
(let ((pop-up-windows t))
(display-buffer (gud-find-file gdb-main-file)))))
(setq gdb-ready t))