* gdb-mi.el (gdb-done-or-error): Guard against "%" in gdb output (tiny change)
[bpt/emacs.git] / lisp / progmodes / gdb-mi.el
index fc3d336..3e3b872 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)))