aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Roberts2008-01-08 01:59:29 +0000
committerNick Roberts2008-01-08 01:59:29 +0000
commitbc676c584011cdadedab6bf469bfc072385f2b68 (patch)
tree465704a6419355dcaf018374f5a190efb38bf846
parentaf5aa38e6cb9ebd8cd3b115a84850b8e730a5ec0 (diff)
downloademacs-bc676c584011cdadedab6bf469bfc072385f2b68.tar.gz
emacs-bc676c584011cdadedab6bf469bfc072385f2b68.zip
(gdb-var-list-children-1): Put varnum in
quotes in case of spaces, e.g. STL containers (not pretty).
-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."
3484 (gdb-enqueue-input 3484 (gdb-enqueue-input
3485 (list 3485 (list
3486 (if (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdba) 3486 (if (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdba)
3487 (concat "server interpreter mi \"-var-list-children --all-values " 3487 (concat "server interpreter mi \"-var-list-children --all-values \\\""
3488 varnum "\"\n") 3488 varnum "\\\"\"\n")
3489 (concat "-var-list-children --all-values " varnum "\n")) 3489 (concat "-var-list-children --all-values \"" varnum "\"\n"))
3490 `(lambda () (gdb-var-list-children-handler-1 ,varnum))))) 3490 `(lambda () (gdb-var-list-children-handler-1 ,varnum)))))
3491 3491
3492(defconst gdb-var-list-children-regexp-1 3492(defconst gdb-var-list-children-regexp-1