From: Sergio Durigan Junior Date: Sun, 15 Sep 2019 18:50:17 +0000 (-0400) Subject: Don't add trailing whitespace when passing argument to GDB X-Git-Tag: emacs-27.0.90~1325 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=77207ca84184fc01428154c318b21c70ad150c01;p=emacs.git Don't add trailing whitespace when passing argument to GDB * lisp/progmodes/gdb-mi.el (gdb-send): Don't append whitespace to 'gdb-continuation'. (Bug#25488) --- diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 1c8fad3069c..60852e4ad60 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -1827,7 +1827,7 @@ commands to be prefixed by \"-interpreter-exec console\".") " ")) (setq gdb-first-done-or-error t) (let ((to-send (concat "-interpreter-exec console " - (gdb-mi-quote (concat gdb-continuation string " ")) + (gdb-mi-quote (concat gdb-continuation string)) "\n"))) (if gdb-enable-debug (push (cons 'mi-send to-send) gdb-debug-log))