diff options
| author | Richard Copley | 2013-07-18 12:56:08 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-07-18 12:56:08 -0400 |
| commit | 188c1ae6034a4775eb0c3e7f65714f9b90efa8a7 (patch) | |
| tree | 1dddc622972ffad09239d17293a71fb5b3d89941 | |
| parent | 8bfcc21a7921eeaa85afd5079de4c896efb9f8e3 (diff) | |
| download | emacs-188c1ae6034a4775eb0c3e7f65714f9b90efa8a7.tar.gz emacs-188c1ae6034a4775eb0c3e7f65714f9b90efa8a7.zip | |
* gdb-mi.el (gdb-done-or-error): Guard against "%" in gdb output (tiny change)
Fixes: debbugs:14127
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/gdb-mi.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e8f9f456f56..71a23f1a822 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-07-18 Richard Copley <rcopley@gmail.com> (tiny change) | ||
| 2 | |||
| 3 | * progmodes/gdb-mi.el (gdb-done-or-error): | ||
| 4 | Guard against "%" in gdb output. (Bug#14127) | ||
| 5 | |||
| 1 | 2013-07-08 Andreas Schwab <schwab@linux-m68k.org> | 6 | 2013-07-08 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 7 | ||
| 3 | * progmodes/sh-script.el (sh-read-variable): Remove interactive | 8 | * progmodes/sh-script.el (sh-read-variable): Remove interactive |
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index fc3d336cf99..3e3b872fd0e 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el | |||
| @@ -2115,7 +2115,7 @@ current thread and update GDB buffers." | |||
| 2115 | ;; MI error - send to minibuffer | 2115 | ;; MI error - send to minibuffer |
| 2116 | (when (eq type 'error) | 2116 | (when (eq type 'error) |
| 2117 | ;; Skip "msg=" from `output-field' | 2117 | ;; Skip "msg=" from `output-field' |
| 2118 | (message (read (substring output-field 4))) | 2118 | (message "%s" (read (substring output-field 4))) |
| 2119 | ;; Don't send to the console twice. (If it is a console error | 2119 | ;; Don't send to the console twice. (If it is a console error |
| 2120 | ;; it is also in the console stream.) | 2120 | ;; it is also in the console stream.) |
| 2121 | (setq output-field nil))) | 2121 | (setq output-field nil))) |