]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't add trailing whitespace when passing argument to GDB
authorSergio Durigan Junior <sergiodj@sergiodj.net>
Sun, 15 Sep 2019 18:50:17 +0000 (14:50 -0400)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 2 Oct 2019 13:08:02 +0000 (15:08 +0200)
* lisp/progmodes/gdb-mi.el (gdb-send): Don't append whitespace to
'gdb-continuation'.  (Bug#25488)

lisp/progmodes/gdb-mi.el

index 1c8fad3069c269b61f6d04d032ca2636bfcd3898..60852e4ad60ed9c2d4f5d6cfd407d2276f6fe0db 100644 (file)
@@ -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))