all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "richardeng" <richardeng@foxmail.com>
To: "Joseph Yen" <joseph.yen@gmail.com>,
	"1490" <1490@emacsbugs.donarmstrong.com>
Subject: bug#1490: 23.0.60; C-d sends "\n" while debugging with gdb in Emacs
Date: Fri, 5 Dec 2008 11:25:20 +0800	[thread overview]
Message-ID: <200812051125194969081@foxmail.com> (raw)
In-Reply-To: 75be95340812040621ka3418f9p9e1efb3bf917312@mail.gmail.com

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)      








      reply	other threads:[~2008-12-05  3:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04 14:21 bug#1490: 23.0.60; C-d sends "\n" while debugging with gdb in Emacs Joseph Yen
2008-12-05  3:25 ` richardeng [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200812051125194969081@foxmail.com \
    --to=richardeng@foxmail.com \
    --cc=1490@emacsbugs.donarmstrong.com \
    --cc=joseph.yen@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.