GNU bug report logs - #1490
23.0.60; C-d sends "\n" while debugging with gdb in Emacs

Previous Next

Package: emacs;

Reported by: "Joseph Yen" <joseph.yen <at> gmail.com>

Date: Thu, 4 Dec 2008 14:30:02 UTC

Severity: normal

Tags: wontfix

Found in version 23.0.60

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 1490 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "richardeng" <richardeng <at> foxmail.com>
To: "Joseph Yen" <joseph.yen <at> gmail.com>,
        "1490" <1490 <at> debbugs.gnu.org>
Subject: Re: bug#1490: 23.0.60; C-d sends "\n" while debugging with gdb in Emacs
Date: Fri, 5 Dec 2008 11:25:20 +0800
Package: emacs
Version: 23.0.60
Severity: minor
Tags: patch

--- gdb-ui.el.~1.253.~  2008-07-16 16:02:52.000000000 -0700                                                    
+++ gdb-ui.el   2008-11-03 03:51:32.000000000 -0800                                                            
@@ -1248,7 +1248,9 @@
            (remove-text-properties (point-min) (point-max) '(face))))                                         
        (if gud-running                                                                                        
            (progn                                                                                             
-             (let ((item (concat string "\n")))                                                               
+             (let ((item ""))                                                                                 
+               (unless (equal string "")                                                                      
+                 (setq item (concat string "\n")))                                                            
                (if gdb-enable-debug (push (cons 'send item) gdb-debug-log))                                   
                (process-send-string proc item)))                                                              
          (if (string-match "\\\\\\'" string)      






This bug report was last modified 13 years and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.