summaryrefslogtreecommitdiff
path: root/lisp/progmodes/gdb-ui.el
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2008-01-08 01:59:29 +0000
committerNick Roberts <nickrob@snap.net.nz>2008-01-08 01:59:29 +0000
commitbc676c584011cdadedab6bf469bfc072385f2b68 (patch)
tree465704a6419355dcaf018374f5a190efb38bf846 /lisp/progmodes/gdb-ui.el
parentaf5aa38e6cb9ebd8cd3b115a84850b8e730a5ec0 (diff)
downloademacs-bc676c584011cdadedab6bf469bfc072385f2b68.tar.gz
emacs-bc676c584011cdadedab6bf469bfc072385f2b68.tar.bz2
emacs-bc676c584011cdadedab6bf469bfc072385f2b68.zip
(gdb-var-list-children-1): Put varnum in
quotes in case of spaces, e.g. STL containers (not pretty).
Diffstat (limited to 'lisp/progmodes/gdb-ui.el')
-rw-r--r--lisp/progmodes/gdb-ui.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index 657e8531278..ef11668f022 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -3484,9 +3484,9 @@ is set in them."
(gdb-enqueue-input
(list
(if (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdba)
- (concat "server interpreter mi \"-var-list-children --all-values "
- varnum "\"\n")
- (concat "-var-list-children --all-values " varnum "\n"))
+ (concat "server interpreter mi \"-var-list-children --all-values \\\""
+ varnum "\\\"\"\n")
+ (concat "-var-list-children --all-values \"" varnum "\"\n"))
`(lambda () (gdb-var-list-children-handler-1 ,varnum)))))
(defconst gdb-var-list-children-regexp-1