]> git.eshelyaron.com Git - emacs.git/commitdiff
* gdb-mi.el (gdb-done-or-error): Guard against "%" in gdb output (tiny change)
authorRichard Copley <rcopley@gmail.com>
Thu, 18 Jul 2013 16:56:08 +0000 (12:56 -0400)
committerGlenn Morris <rgm@gnu.org>
Thu, 18 Jul 2013 16:56:08 +0000 (12:56 -0400)
Fixes: debbugs:14127
lisp/ChangeLog
lisp/progmodes/gdb-mi.el

index e8f9f456f5677ffb3f422cd3b6327d0fe439e620..71a23f1a8224c076c834234c8cc14f87bef549b3 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-18  Richard Copley  <rcopley@gmail.com>  (tiny change)
+
+       * progmodes/gdb-mi.el (gdb-done-or-error):
+       Guard against "%" in gdb output.  (Bug#14127)
+
 2013-07-08  Andreas Schwab  <schwab@linux-m68k.org>
 
        * progmodes/sh-script.el (sh-read-variable): Remove interactive
index fc3d336cf9912ffc0a4847b868d5148d3e18c16f..3e3b872fd0e1fd4a281845e209756091c62787e3 100644 (file)
@@ -2115,7 +2115,7 @@ current thread and update GDB buffers."
        ;; MI error - send to minibuffer
        (when (eq type 'error)
           ;; Skip "msg=" from `output-field'
-          (message (read (substring output-field 4)))
+          (message "%s" (read (substring output-field 4)))
           ;; Don't send to the console twice.  (If it is a console error
           ;; it is also in the console stream.)
           (setq output-field nil)))