Fix handling of commands containing double quotes in gdb-mi
commit4fd9655790324ce4b0a321ddae45e98af3953fe1
authorJim Blandy <jimb@red-bean.com>
Sun, 26 Feb 2012 09:38:45 +0000 (26 17:38 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 26 Feb 2012 09:38:45 +0000 (26 17:38 +0800)
tree9423541146950219b11ef924122cc082b4086fc0
parentfa9a08553937a87d6162bb0a7b21dfd3b3f47164
Fix handling of commands containing double quotes in gdb-mi

* lisp/progmodes/gdb-mi.el (gdb-mi-quote): New function.
(gdb-send): Apply it to the operand of the '-interpreter-exec
console' command, so that we can pass arguments with (say) quotes
in them.  Store exact string sent in gdb-debug-log (Bug#10765).
lisp/ChangeLog
lisp/progmodes/gdb-mi.el