emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r111387: * gdb-mi.el (gdb-done-or-error): Guard a


From: Glenn Morris
Subject: [Emacs-diffs] emacs-24 r111387: * gdb-mi.el (gdb-done-or-error): Guard against "%" in gdb output (tiny change)
Date: Thu, 18 Jul 2013 16:56:13 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 111387
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/14127
author: Richard Copley <address@hidden>
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Thu 2013-07-18 12:56:08 -0400
message:
  * gdb-mi.el (gdb-done-or-error): Guard against "%" in gdb output (tiny change)
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/gdb-mi.el       gdbmi.el-20100327132052-973a0aspo2g2bze8-1
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-07-08 18:49:53 +0000
+++ b/lisp/ChangeLog    2013-07-18 16:56:08 +0000
@@ -1,3 +1,8 @@
+2013-07-18  Richard Copley  <address@hidden>  (tiny change)
+
+       * progmodes/gdb-mi.el (gdb-done-or-error):
+       Guard against "%" in gdb output.  (Bug#14127)
+
 2013-07-08  Andreas Schwab  <address@hidden>
 
        * progmodes/sh-script.el (sh-read-variable): Remove interactive

=== modified file 'lisp/progmodes/gdb-mi.el'
--- a/lisp/progmodes/gdb-mi.el  2013-01-01 09:11:05 +0000
+++ b/lisp/progmodes/gdb-mi.el  2013-07-18 16:56:08 +0000
@@ -2115,7 +2115,7 @@
        ;; 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)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]